{
  "address": "BUNDDh4P5XviMm1f3gCvnq2qKx6TGosAGnoUK12e7cXU",
  "metadata": {
    "name": "ntbundle",
    "version": "0.1.0",
    "spec": "0.1.0",
    "description": "Created with Anchor"
  },
  "instructions": [
    {
      "name": "add_strategy",
      "discriminator": [
        64,
        123,
        127,
        227,
        192,
        234,
        198,
        20
      ],
      "accounts": [
        {
          "name": "manager",
          "writable": true,
          "signer": true
        },
        {
          "name": "strategy_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  83,
                  84,
                  82,
                  65,
                  84,
                  69,
                  71,
                  89
                ]
              },
              {
                "kind": "account",
                "path": "receiver_address"
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "bundle_account",
          "writable": true
        },
        {
          "name": "receiver_address",
          "writable": true
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        }
      ],
      "args": [
        {
          "name": "allocation_bps",
          "type": "u32"
        }
      ]
    },
    {
      "name": "apply_fees_to_user",
      "discriminator": [
        26,
        41,
        103,
        167,
        61,
        147,
        141,
        30
      ],
      "accounts": [
        {
          "name": "keeper",
          "writable": true,
          "signer": true
        },
        {
          "name": "user_bundle_account_owner",
          "writable": true
        },
        {
          "name": "user_bundle_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  85,
                  83,
                  69,
                  82,
                  95,
                  66,
                  85,
                  78,
                  68,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "user_bundle_account_owner"
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "bundle_account",
          "writable": true
        },
        {
          "name": "oracle_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  79,
                  82,
                  65,
                  67,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "bundle_asset_authority",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  65,
                  83,
                  83,
                  69,
                  84,
                  95,
                  65,
                  85,
                  84,
                  72,
                  79,
                  82,
                  73,
                  84,
                  89
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        }
      ],
      "args": []
    },
    {
      "name": "change_bundle_master_admin",
      "discriminator": [
        255,
        41,
        246,
        82,
        7,
        81,
        174,
        112
      ],
      "accounts": [
        {
          "name": "admin",
          "writable": true,
          "signer": true
        },
        {
          "name": "bundle_master_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  77,
                  65,
                  83,
                  84,
                  69,
                  82
                ]
              }
            ]
          }
        }
      ],
      "args": [
        {
          "name": "new_admin",
          "type": "pubkey"
        }
      ]
    },
    {
      "name": "change_manager",
      "discriminator": [
        97,
        44,
        74,
        213,
        119,
        243,
        203,
        8
      ],
      "accounts": [
        {
          "name": "manager",
          "writable": true,
          "signer": true
        },
        {
          "name": "bundle_account",
          "writable": true
        }
      ],
      "args": [
        {
          "name": "new_manager",
          "type": "pubkey"
        }
      ]
    },
    {
      "name": "clear_user_fee_override",
      "discriminator": [
        97,
        227,
        92,
        191,
        205,
        0,
        154,
        77
      ],
      "accounts": [
        {
          "name": "manager",
          "writable": true,
          "signer": true
        },
        {
          "name": "user_bundle_account_owner"
        },
        {
          "name": "user_bundle_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  85,
                  83,
                  69,
                  82,
                  95,
                  66,
                  85,
                  78,
                  68,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "user_bundle_account_owner"
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "bundle_account"
        }
      ],
      "args": [
        {
          "name": "clear_mask",
          "type": "u8"
        }
      ]
    },
    {
      "name": "clear_user_withdrawal_timing_override",
      "discriminator": [
        203,
        96,
        230,
        216,
        217,
        104,
        244,
        74
      ],
      "accounts": [
        {
          "name": "manager",
          "writable": true,
          "signer": true
        },
        {
          "name": "user_bundle_account_owner"
        },
        {
          "name": "user_bundle_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  85,
                  83,
                  69,
                  82,
                  95,
                  66,
                  85,
                  78,
                  68,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "user_bundle_account_owner"
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "bundle_account"
        }
      ],
      "args": [
        {
          "name": "clear_mask",
          "type": "u8"
        }
      ]
    },
    {
      "name": "close_user_bundle_account",
      "discriminator": [
        201,
        195,
        126,
        228,
        9,
        173,
        79,
        215
      ],
      "accounts": [
        {
          "name": "authority",
          "writable": true,
          "signer": true
        },
        {
          "name": "user_bundle_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  85,
                  83,
                  69,
                  82,
                  95,
                  66,
                  85,
                  78,
                  68,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "authority"
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "bundle_account"
        }
      ],
      "args": []
    },
    {
      "name": "distribute_to_receivers",
      "discriminator": [
        123,
        169,
        151,
        143,
        0,
        82,
        209,
        145
      ],
      "accounts": [
        {
          "name": "keeper",
          "writable": true,
          "signer": true
        },
        {
          "name": "receiver_address",
          "writable": true
        },
        {
          "name": "bundle_asset_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "account",
                "path": "bundle_asset_authority"
              },
              {
                "kind": "const",
                "value": [
                  6,
                  221,
                  246,
                  225,
                  215,
                  101,
                  161,
                  147,
                  217,
                  203,
                  225,
                  70,
                  206,
                  235,
                  121,
                  172,
                  28,
                  180,
                  133,
                  237,
                  95,
                  91,
                  55,
                  145,
                  58,
                  140,
                  245,
                  133,
                  126,
                  255,
                  0,
                  169
                ]
              },
              {
                "kind": "account",
                "path": "asset_address"
              }
            ],
            "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": "receiver_ata",
          "writable": true
        },
        {
          "name": "asset_address"
        },
        {
          "name": "oracle_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  79,
                  82,
                  65,
                  67,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "bundle_asset_authority",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  65,
                  83,
                  83,
                  69,
                  84,
                  95,
                  65,
                  85,
                  84,
                  72,
                  79,
                  82,
                  73,
                  84,
                  89
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "token_program",
          "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
        },
        {
          "name": "bundle_account",
          "writable": true
        },
        {
          "name": "bundle_temp_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  84,
                  69,
                  77,
                  80,
                  95,
                  68,
                  65,
                  84,
                  65
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "strategy_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  83,
                  84,
                  82,
                  65,
                  84,
                  69,
                  71,
                  89
                ]
              },
              {
                "kind": "account",
                "path": "receiver_address"
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        }
      ],
      "args": []
    },
    {
      "name": "enable_strategy",
      "discriminator": [
        245,
        37,
        61,
        122,
        99,
        92,
        182,
        30
      ],
      "accounts": [
        {
          "name": "manager",
          "writable": true,
          "signer": true
        },
        {
          "name": "strategy_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  83,
                  84,
                  82,
                  65,
                  84,
                  69,
                  71,
                  89
                ]
              },
              {
                "kind": "account",
                "path": "receiver_address"
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "bundle_account",
          "writable": true
        },
        {
          "name": "receiver_address",
          "writable": true
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        }
      ],
      "args": []
    },
    {
      "name": "end_distribution",
      "discriminator": [
        201,
        74,
        167,
        103,
        102,
        125,
        0,
        236
      ],
      "accounts": [
        {
          "name": "keeper",
          "writable": true,
          "signer": true
        },
        {
          "name": "bundle_account",
          "writable": true
        },
        {
          "name": "bundle_temp_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  84,
                  69,
                  77,
                  80,
                  95,
                  68,
                  65,
                  84,
                  65
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "oracle_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  79,
                  82,
                  65,
                  67,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        }
      ],
      "args": []
    },
    {
      "name": "initialize_bundle",
      "discriminator": [
        93,
        76,
        148,
        51,
        99,
        41,
        179,
        234
      ],
      "accounts": [
        {
          "name": "creator",
          "writable": true,
          "signer": true
        },
        {
          "name": "bundle_creator_account",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  67,
                  82,
                  69,
                  65,
                  84,
                  79,
                  82
                ]
              },
              {
                "kind": "account",
                "path": "creator"
              }
            ]
          }
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        },
        {
          "name": "treasury_account",
          "writable": true
        },
        {
          "name": "asset_address",
          "writable": true
        },
        {
          "name": "bundle_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  66,
                  85,
                  78,
                  68,
                  76,
                  69
                ]
              },
              {
                "kind": "arg",
                "path": "name"
              }
            ]
          }
        },
        {
          "name": "bundle_temp_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  84,
                  69,
                  77,
                  80,
                  95,
                  68,
                  65,
                  84,
                  65
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "oracle_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  79,
                  82,
                  65,
                  67,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        }
      ],
      "args": [
        {
          "name": "name",
          "type": {
            "array": [
              "u8",
              32
            ]
          }
        },
        {
          "name": "keeper",
          "type": "pubkey"
        },
        {
          "name": "deposit_fee",
          "type": "u32"
        },
        {
          "name": "withdrawal_fee",
          "type": "u32"
        },
        {
          "name": "performance_fee",
          "type": "u32"
        },
        {
          "name": "management_fee_bps",
          "type": "u32"
        },
        {
          "name": "oracle_buffer",
          "type": "u64"
        },
        {
          "name": "max_deposit_amount",
          "type": "u64"
        },
        {
          "name": "min_deposit_amount",
          "type": "u64"
        },
        {
          "name": "withdrawal_delay",
          "type": "u64"
        },
        {
          "name": "withdrawal_t_min",
          "type": "i64"
        },
        {
          "name": "withdrawal_t_max",
          "type": "i64"
        },
        {
          "name": "withdrawal_curve",
          "type": "f32"
        },
        {
          "name": "oracle_max_age",
          "type": "i64"
        },
        {
          "name": "oracle_update_time_limit",
          "type": "i64"
        },
        {
          "name": "withdrawal_redemption_request_cutoff_ts",
          "type": "i64"
        },
        {
          "name": "withdrawal_redemption_unlock_current_cycle_ts",
          "type": "i64"
        },
        {
          "name": "withdrawal_redemption_unlock_next_cycle_ts",
          "type": "i64"
        },
        {
          "name": "permissionned",
          "type": "bool"
        }
      ]
    },
    {
      "name": "initialize_bundle_depositor",
      "discriminator": [
        126,
        6,
        242,
        36,
        22,
        209,
        35,
        2
      ],
      "accounts": [
        {
          "name": "payer",
          "writable": true,
          "signer": true
        },
        {
          "name": "authority",
          "writable": true,
          "signer": true
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        },
        {
          "name": "bundle_account",
          "writable": true
        },
        {
          "name": "user_bundle_account",
          "docs": [
            "each user gets one UserBundleAccount account; it will be created if it doesn't exist."
          ],
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  85,
                  83,
                  69,
                  82,
                  95,
                  66,
                  85,
                  78,
                  68,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "authority"
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        }
      ],
      "args": []
    },
    {
      "name": "initialize_bundle_master_account",
      "discriminator": [
        125,
        166,
        190,
        35,
        73,
        169,
        140,
        206
      ],
      "accounts": [
        {
          "name": "admin",
          "writable": true,
          "signer": true
        },
        {
          "name": "bundle_master_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  77,
                  65,
                  83,
                  84,
                  69,
                  82
                ]
              }
            ]
          }
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        }
      ],
      "args": []
    },
    {
      "name": "initialize_permissioned_bundle_depositor",
      "discriminator": [
        157,
        162,
        213,
        42,
        205,
        201,
        37,
        255
      ],
      "accounts": [
        {
          "name": "payer",
          "writable": true,
          "signer": true
        },
        {
          "name": "authority",
          "writable": true
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        },
        {
          "name": "bundle_account",
          "writable": true
        },
        {
          "name": "user_bundle_account",
          "docs": [
            "each user gets one UserBundleAccount account; it will be created if it doesn't exist."
          ],
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  85,
                  83,
                  69,
                  82,
                  95,
                  66,
                  85,
                  78,
                  68,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "authority"
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        }
      ],
      "args": []
    },
    {
      "name": "manager_withdraw",
      "discriminator": [
        201,
        248,
        190,
        143,
        86,
        43,
        183,
        254
      ],
      "accounts": [
        {
          "name": "manager",
          "writable": true,
          "signer": true
        },
        {
          "name": "manager_token_account",
          "writable": true
        },
        {
          "name": "asset_address",
          "writable": true
        },
        {
          "name": "bundle_asset_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "account",
                "path": "bundle_asset_authority"
              },
              {
                "kind": "const",
                "value": [
                  6,
                  221,
                  246,
                  225,
                  215,
                  101,
                  161,
                  147,
                  217,
                  203,
                  225,
                  70,
                  206,
                  235,
                  121,
                  172,
                  28,
                  180,
                  133,
                  237,
                  95,
                  91,
                  55,
                  145,
                  58,
                  140,
                  245,
                  133,
                  126,
                  255,
                  0,
                  169
                ]
              },
              {
                "kind": "account",
                "path": "asset_address"
              }
            ],
            "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": "bundle_account",
          "writable": true
        },
        {
          "name": "oracle_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  79,
                  82,
                  65,
                  67,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "bundle_asset_authority",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  65,
                  83,
                  83,
                  69,
                  84,
                  95,
                  65,
                  85,
                  84,
                  72,
                  79,
                  82,
                  73,
                  84,
                  89
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "token_program",
          "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
        }
      ],
      "args": []
    },
    {
      "name": "manager_withdraw_with_split",
      "discriminator": [
        225,
        117,
        84,
        162,
        37,
        169,
        153,
        89
      ],
      "accounts": [
        {
          "name": "manager",
          "writable": true,
          "signer": true
        },
        {
          "name": "manager_token_account",
          "writable": true
        },
        {
          "name": "partner_token_account",
          "writable": true
        },
        {
          "name": "asset_address",
          "writable": true
        },
        {
          "name": "bundle_asset_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "account",
                "path": "bundle_asset_authority"
              },
              {
                "kind": "const",
                "value": [
                  6,
                  221,
                  246,
                  225,
                  215,
                  101,
                  161,
                  147,
                  217,
                  203,
                  225,
                  70,
                  206,
                  235,
                  121,
                  172,
                  28,
                  180,
                  133,
                  237,
                  95,
                  91,
                  55,
                  145,
                  58,
                  140,
                  245,
                  133,
                  126,
                  255,
                  0,
                  169
                ]
              },
              {
                "kind": "account",
                "path": "asset_address"
              }
            ],
            "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": "bundle_account",
          "writable": true
        },
        {
          "name": "oracle_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  79,
                  82,
                  65,
                  67,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "bundle_asset_authority",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  65,
                  83,
                  83,
                  69,
                  84,
                  95,
                  65,
                  85,
                  84,
                  72,
                  79,
                  82,
                  73,
                  84,
                  89
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "token_program",
          "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
        }
      ],
      "args": [
        {
          "name": "partner_pfee_bps",
          "type": "u32"
        },
        {
          "name": "partner_mfee_bps",
          "type": "u32"
        }
      ]
    },
    {
      "name": "net_pending_transactions",
      "discriminator": [
        44,
        219,
        50,
        19,
        246,
        252,
        37,
        163
      ],
      "accounts": [
        {
          "name": "keeper",
          "writable": true,
          "signer": true
        },
        {
          "name": "bundle_account",
          "writable": true
        },
        {
          "name": "pending_deposit_token_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "account",
                "path": "pending_bundle_asset_authority"
              },
              {
                "kind": "const",
                "value": [
                  6,
                  221,
                  246,
                  225,
                  215,
                  101,
                  161,
                  147,
                  217,
                  203,
                  225,
                  70,
                  206,
                  235,
                  121,
                  172,
                  28,
                  180,
                  133,
                  237,
                  95,
                  91,
                  55,
                  145,
                  58,
                  140,
                  245,
                  133,
                  126,
                  255,
                  0,
                  169
                ]
              },
              {
                "kind": "account",
                "path": "asset_address"
              }
            ],
            "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": "bundle_asset_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "account",
                "path": "bundle_asset_authority"
              },
              {
                "kind": "const",
                "value": [
                  6,
                  221,
                  246,
                  225,
                  215,
                  101,
                  161,
                  147,
                  217,
                  203,
                  225,
                  70,
                  206,
                  235,
                  121,
                  172,
                  28,
                  180,
                  133,
                  237,
                  95,
                  91,
                  55,
                  145,
                  58,
                  140,
                  245,
                  133,
                  126,
                  255,
                  0,
                  169
                ]
              },
              {
                "kind": "account",
                "path": "asset_address"
              }
            ],
            "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": "asset_address",
          "writable": true
        },
        {
          "name": "pending_bundle_asset_authority",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  80,
                  69,
                  78,
                  68,
                  73,
                  78,
                  71,
                  95,
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  65,
                  83,
                  83,
                  69,
                  84,
                  95,
                  65,
                  85,
                  84,
                  72,
                  79,
                  82,
                  73,
                  84,
                  89
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "oracle_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  79,
                  82,
                  65,
                  67,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "bundle_temp_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  84,
                  69,
                  77,
                  80,
                  95,
                  68,
                  65,
                  84,
                  65
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "bundle_asset_authority",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  65,
                  83,
                  83,
                  69,
                  84,
                  95,
                  65,
                  85,
                  84,
                  72,
                  79,
                  82,
                  73,
                  84,
                  89
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "token_program",
          "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
        }
      ],
      "args": []
    },
    {
      "name": "pause_deposits_withdrawals",
      "discriminator": [
        106,
        171,
        198,
        31,
        183,
        219,
        159,
        80
      ],
      "accounts": [
        {
          "name": "keeper",
          "writable": true,
          "signer": true
        },
        {
          "name": "bundle_account",
          "writable": true
        },
        {
          "name": "bundle_temp_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  84,
                  69,
                  77,
                  80,
                  95,
                  68,
                  65,
                  84,
                  65
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "oracle_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  79,
                  82,
                  65,
                  67,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        }
      ],
      "args": [
        {
          "name": "pause",
          "type": "bool"
        }
      ]
    },
    {
      "name": "perform_refill",
      "discriminator": [
        241,
        64,
        6,
        52,
        58,
        169,
        15,
        12
      ],
      "accounts": [
        {
          "name": "receiver_address",
          "writable": true,
          "signer": true
        },
        {
          "name": "bundle_asset_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "account",
                "path": "bundle_asset_authority"
              },
              {
                "kind": "const",
                "value": [
                  6,
                  221,
                  246,
                  225,
                  215,
                  101,
                  161,
                  147,
                  217,
                  203,
                  225,
                  70,
                  206,
                  235,
                  121,
                  172,
                  28,
                  180,
                  133,
                  237,
                  95,
                  91,
                  55,
                  145,
                  58,
                  140,
                  245,
                  133,
                  126,
                  255,
                  0,
                  169
                ]
              },
              {
                "kind": "account",
                "path": "asset_address"
              }
            ],
            "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": "receiver_ata",
          "writable": true
        },
        {
          "name": "asset_address"
        },
        {
          "name": "bundle_account",
          "writable": true
        },
        {
          "name": "strategy_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  83,
                  84,
                  82,
                  65,
                  84,
                  69,
                  71,
                  89
                ]
              },
              {
                "kind": "account",
                "path": "receiver_address"
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "oracle_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  79,
                  82,
                  65,
                  67,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "bundle_asset_authority",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  65,
                  83,
                  83,
                  69,
                  84,
                  95,
                  65,
                  85,
                  84,
                  72,
                  79,
                  82,
                  73,
                  84,
                  89
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "token_program",
          "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
        }
      ],
      "args": [
        {
          "name": "refill_amount",
          "type": "u64"
        }
      ]
    },
    {
      "name": "process_deposit",
      "discriminator": [
        136,
        162,
        64,
        35,
        84,
        200,
        254,
        136
      ],
      "accounts": [
        {
          "name": "keeper",
          "writable": true,
          "signer": true
        },
        {
          "name": "user_bundle_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  85,
                  83,
                  69,
                  82,
                  95,
                  66,
                  85,
                  78,
                  68,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "user_bundle_account_owner"
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "pending_deposit_token_account",
          "docs": [
            "the account holding the user's deposited asset before allocation."
          ],
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "account",
                "path": "pending_bundle_asset_authority"
              },
              {
                "kind": "const",
                "value": [
                  6,
                  221,
                  246,
                  225,
                  215,
                  101,
                  161,
                  147,
                  217,
                  203,
                  225,
                  70,
                  206,
                  235,
                  121,
                  172,
                  28,
                  180,
                  133,
                  237,
                  95,
                  91,
                  55,
                  145,
                  58,
                  140,
                  245,
                  133,
                  126,
                  255,
                  0,
                  169
                ]
              },
              {
                "kind": "account",
                "path": "asset_address"
              }
            ],
            "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_bundle_account_owner",
          "docs": [
            "the owner of the pending request (for event purposes)."
          ]
        },
        {
          "name": "asset_address",
          "writable": true
        },
        {
          "name": "bundle_asset_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "account",
                "path": "bundle_asset_authority"
              },
              {
                "kind": "const",
                "value": [
                  6,
                  221,
                  246,
                  225,
                  215,
                  101,
                  161,
                  147,
                  217,
                  203,
                  225,
                  70,
                  206,
                  235,
                  121,
                  172,
                  28,
                  180,
                  133,
                  237,
                  95,
                  91,
                  55,
                  145,
                  58,
                  140,
                  245,
                  133,
                  126,
                  255,
                  0,
                  169
                ]
              },
              {
                "kind": "account",
                "path": "asset_address"
              }
            ],
            "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": "bundle_account",
          "writable": true
        },
        {
          "name": "bundle_temp_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  84,
                  69,
                  77,
                  80,
                  95,
                  68,
                  65,
                  84,
                  65
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "oracle_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  79,
                  82,
                  65,
                  67,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "pending_bundle_asset_authority",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  80,
                  69,
                  78,
                  68,
                  73,
                  78,
                  71,
                  95,
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  65,
                  83,
                  83,
                  69,
                  84,
                  95,
                  65,
                  85,
                  84,
                  72,
                  79,
                  82,
                  73,
                  84,
                  89
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "bundle_asset_authority",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  65,
                  83,
                  83,
                  69,
                  84,
                  95,
                  65,
                  85,
                  84,
                  72,
                  79,
                  82,
                  73,
                  84,
                  89
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "token_program",
          "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        }
      ],
      "args": []
    },
    {
      "name": "process_referrer_withdrawal",
      "discriminator": [
        78,
        133,
        153,
        202,
        251,
        151,
        146,
        227
      ],
      "accounts": [
        {
          "name": "keeper",
          "writable": true,
          "signer": true
        },
        {
          "name": "referrer"
        },
        {
          "name": "referrer_token_account",
          "writable": true
        },
        {
          "name": "asset_address",
          "writable": true
        },
        {
          "name": "bundle_asset_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "account",
                "path": "bundle_asset_authority"
              },
              {
                "kind": "const",
                "value": [
                  6,
                  221,
                  246,
                  225,
                  215,
                  101,
                  161,
                  147,
                  217,
                  203,
                  225,
                  70,
                  206,
                  235,
                  121,
                  172,
                  28,
                  180,
                  133,
                  237,
                  95,
                  91,
                  55,
                  145,
                  58,
                  140,
                  245,
                  133,
                  126,
                  255,
                  0,
                  169
                ]
              },
              {
                "kind": "account",
                "path": "asset_address"
              }
            ],
            "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": "bundle_account",
          "writable": true
        },
        {
          "name": "oracle_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  79,
                  82,
                  65,
                  67,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "bundle_temp_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  84,
                  69,
                  77,
                  80,
                  95,
                  68,
                  65,
                  84,
                  65
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "bundle_asset_authority",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  65,
                  83,
                  83,
                  69,
                  84,
                  95,
                  65,
                  85,
                  84,
                  72,
                  79,
                  82,
                  73,
                  84,
                  89
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "referrer_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  82,
                  69,
                  70,
                  69,
                  82,
                  82,
                  69,
                  82
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              },
              {
                "kind": "account",
                "path": "referrer_account.referrer",
                "account": "ReferrerAccount"
              }
            ]
          }
        },
        {
          "name": "token_program",
          "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
        }
      ],
      "args": []
    },
    {
      "name": "process_switch",
      "discriminator": [
        186,
        170,
        0,
        66,
        104,
        81,
        57,
        195
      ],
      "accounts": [
        {
          "name": "keeper",
          "writable": true,
          "signer": true
        },
        {
          "name": "user_bundle_account_owner"
        },
        {
          "name": "user_token_account",
          "writable": true
        },
        {
          "name": "asset_address",
          "writable": true
        },
        {
          "name": "source_bundle_asset_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "account",
                "path": "source_bundle_asset_authority"
              },
              {
                "kind": "const",
                "value": [
                  6,
                  221,
                  246,
                  225,
                  215,
                  101,
                  161,
                  147,
                  217,
                  203,
                  225,
                  70,
                  206,
                  235,
                  121,
                  172,
                  28,
                  180,
                  133,
                  237,
                  95,
                  91,
                  55,
                  145,
                  58,
                  140,
                  245,
                  133,
                  126,
                  255,
                  0,
                  169
                ]
              },
              {
                "kind": "account",
                "path": "asset_address"
              }
            ],
            "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": "source_user_bundle_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  85,
                  83,
                  69,
                  82,
                  95,
                  66,
                  85,
                  78,
                  68,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "user_bundle_account_owner"
              },
              {
                "kind": "account",
                "path": "source_bundle_account"
              }
            ]
          }
        },
        {
          "name": "source_treasury_account",
          "writable": true
        },
        {
          "name": "source_bundle_asset_authority",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  65,
                  83,
                  83,
                  69,
                  84,
                  95,
                  65,
                  85,
                  84,
                  72,
                  79,
                  82,
                  73,
                  84,
                  89
                ]
              },
              {
                "kind": "account",
                "path": "source_bundle_account"
              }
            ]
          }
        },
        {
          "name": "source_bundle_account",
          "writable": true
        },
        {
          "name": "source_bundle_temp_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  84,
                  69,
                  77,
                  80,
                  95,
                  68,
                  65,
                  84,
                  65
                ]
              },
              {
                "kind": "account",
                "path": "source_bundle_account"
              }
            ]
          }
        },
        {
          "name": "source_oracle_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  79,
                  82,
                  65,
                  67,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "source_bundle_account"
              }
            ]
          }
        },
        {
          "name": "target_bundle_account"
        },
        {
          "name": "target_user_bundle_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  85,
                  83,
                  69,
                  82,
                  95,
                  66,
                  85,
                  78,
                  68,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "user_bundle_account_owner"
              },
              {
                "kind": "account",
                "path": "target_bundle_account"
              }
            ]
          }
        },
        {
          "name": "target_bundle_temp_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  84,
                  69,
                  77,
                  80,
                  95,
                  68,
                  65,
                  84,
                  65
                ]
              },
              {
                "kind": "account",
                "path": "target_bundle_account"
              }
            ]
          }
        },
        {
          "name": "target_pending_deposit_token_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "account",
                "path": "target_pending_bundle_asset_authority"
              },
              {
                "kind": "const",
                "value": [
                  6,
                  221,
                  246,
                  225,
                  215,
                  101,
                  161,
                  147,
                  217,
                  203,
                  225,
                  70,
                  206,
                  235,
                  121,
                  172,
                  28,
                  180,
                  133,
                  237,
                  95,
                  91,
                  55,
                  145,
                  58,
                  140,
                  245,
                  133,
                  126,
                  255,
                  0,
                  169
                ]
              },
              {
                "kind": "account",
                "path": "asset_address"
              }
            ],
            "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": "target_pending_bundle_asset_authority",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  80,
                  69,
                  78,
                  68,
                  73,
                  78,
                  71,
                  95,
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  65,
                  83,
                  83,
                  69,
                  84,
                  95,
                  65,
                  85,
                  84,
                  72,
                  79,
                  82,
                  73,
                  84,
                  89
                ]
              },
              {
                "kind": "account",
                "path": "target_bundle_account"
              }
            ]
          }
        },
        {
          "name": "target_oracle_data",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  79,
                  82,
                  65,
                  67,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "target_bundle_account"
              }
            ]
          }
        },
        {
          "name": "target_treasury_account",
          "writable": true
        },
        {
          "name": "token_program",
          "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        }
      ],
      "args": []
    },
    {
      "name": "process_withdrawal",
      "discriminator": [
        51,
        97,
        236,
        17,
        37,
        33,
        196,
        64
      ],
      "accounts": [
        {
          "name": "keeper",
          "writable": true,
          "signer": true
        },
        {
          "name": "user_bundle_account_owner"
        },
        {
          "name": "user_token_account",
          "writable": true
        },
        {
          "name": "asset_address",
          "writable": true
        },
        {
          "name": "bundle_asset_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "account",
                "path": "bundle_asset_authority"
              },
              {
                "kind": "const",
                "value": [
                  6,
                  221,
                  246,
                  225,
                  215,
                  101,
                  161,
                  147,
                  217,
                  203,
                  225,
                  70,
                  206,
                  235,
                  121,
                  172,
                  28,
                  180,
                  133,
                  237,
                  95,
                  91,
                  55,
                  145,
                  58,
                  140,
                  245,
                  133,
                  126,
                  255,
                  0,
                  169
                ]
              },
              {
                "kind": "account",
                "path": "asset_address"
              }
            ],
            "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": "pending_bundle_asset_authority",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  80,
                  69,
                  78,
                  68,
                  73,
                  78,
                  71,
                  95,
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  65,
                  83,
                  83,
                  69,
                  84,
                  95,
                  65,
                  85,
                  84,
                  72,
                  79,
                  82,
                  73,
                  84,
                  89
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "user_bundle_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  85,
                  83,
                  69,
                  82,
                  95,
                  66,
                  85,
                  78,
                  68,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "user_bundle_account_owner"
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "treasury_account",
          "writable": true
        },
        {
          "name": "bundle_asset_authority",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  65,
                  83,
                  83,
                  69,
                  84,
                  95,
                  65,
                  85,
                  84,
                  72,
                  79,
                  82,
                  73,
                  84,
                  89
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "bundle_account",
          "writable": true
        },
        {
          "name": "bundle_temp_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  84,
                  69,
                  77,
                  80,
                  95,
                  68,
                  65,
                  84,
                  65
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "oracle_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  79,
                  82,
                  65,
                  67,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "token_program",
          "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        }
      ],
      "args": []
    },
    {
      "name": "referrer_request_withdraw",
      "discriminator": [
        14,
        246,
        94,
        153,
        127,
        117,
        147,
        31
      ],
      "accounts": [
        {
          "name": "referrer",
          "writable": true,
          "signer": true
        },
        {
          "name": "bundle_account"
        },
        {
          "name": "oracle_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  79,
                  82,
                  65,
                  67,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "bundle_temp_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  84,
                  69,
                  77,
                  80,
                  95,
                  68,
                  65,
                  84,
                  65
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "referrer_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  82,
                  69,
                  70,
                  69,
                  82,
                  82,
                  69,
                  82
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              },
              {
                "kind": "account",
                "path": "referrer"
              }
            ]
          }
        }
      ],
      "args": []
    },
    {
      "name": "refund_deposit",
      "discriminator": [
        19,
        19,
        78,
        50,
        187,
        10,
        162,
        229
      ],
      "accounts": [
        {
          "name": "keeper",
          "writable": true,
          "signer": true
        },
        {
          "name": "user_bundle_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  85,
                  83,
                  69,
                  82,
                  95,
                  66,
                  85,
                  78,
                  68,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "user_bundle_account_owner"
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "user_bundle_account_owner",
          "docs": [
            "the owner of the pending request (for event purposes)."
          ]
        },
        {
          "name": "user_token_account",
          "writable": true
        },
        {
          "name": "asset_address",
          "writable": true
        },
        {
          "name": "bundle_asset_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "account",
                "path": "bundle_asset_authority"
              },
              {
                "kind": "const",
                "value": [
                  6,
                  221,
                  246,
                  225,
                  215,
                  101,
                  161,
                  147,
                  217,
                  203,
                  225,
                  70,
                  206,
                  235,
                  121,
                  172,
                  28,
                  180,
                  133,
                  237,
                  95,
                  91,
                  55,
                  145,
                  58,
                  140,
                  245,
                  133,
                  126,
                  255,
                  0,
                  169
                ]
              },
              {
                "kind": "account",
                "path": "asset_address"
              }
            ],
            "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": "bundle_asset_authority",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  65,
                  83,
                  83,
                  69,
                  84,
                  95,
                  65,
                  85,
                  84,
                  72,
                  79,
                  82,
                  73,
                  84,
                  89
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "bundle_account",
          "writable": true
        },
        {
          "name": "bundle_temp_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  84,
                  69,
                  77,
                  80,
                  95,
                  68,
                  65,
                  84,
                  65
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "token_program",
          "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        }
      ],
      "args": []
    },
    {
      "name": "register_referrer",
      "discriminator": [
        122,
        229,
        215,
        169,
        100,
        145,
        198,
        120
      ],
      "accounts": [
        {
          "name": "referrer",
          "writable": true,
          "signer": true
        },
        {
          "name": "referrer_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  82,
                  69,
                  70,
                  69,
                  82,
                  82,
                  69,
                  82
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              },
              {
                "kind": "account",
                "path": "referrer"
              }
            ]
          }
        },
        {
          "name": "bundle_account"
        },
        {
          "name": "referrer_user_bundle_account",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  85,
                  83,
                  69,
                  82,
                  95,
                  66,
                  85,
                  78,
                  68,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "referrer"
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        }
      ],
      "args": []
    },
    {
      "name": "remove_strategy",
      "discriminator": [
        185,
        238,
        33,
        91,
        134,
        210,
        97,
        26
      ],
      "accounts": [
        {
          "name": "manager",
          "writable": true,
          "signer": true
        },
        {
          "name": "strategy_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  83,
                  84,
                  82,
                  65,
                  84,
                  69,
                  71,
                  89
                ]
              },
              {
                "kind": "account",
                "path": "receiver_address"
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "bundle_account",
          "writable": true
        },
        {
          "name": "receiver_address",
          "writable": true
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        }
      ],
      "args": []
    },
    {
      "name": "request_bundle_switch",
      "discriminator": [
        66,
        9,
        104,
        111,
        227,
        251,
        51,
        176
      ],
      "accounts": [
        {
          "name": "withdrawal_request",
          "accounts": [
            {
              "name": "user",
              "writable": true,
              "signer": true
            },
            {
              "name": "user_bundle_account",
              "writable": true,
              "pda": {
                "seeds": [
                  {
                    "kind": "const",
                    "value": [
                      85,
                      83,
                      69,
                      82,
                      95,
                      66,
                      85,
                      78,
                      68,
                      76,
                      69
                    ]
                  },
                  {
                    "kind": "account",
                    "path": "user"
                  },
                  {
                    "kind": "account",
                    "path": "bundle_account"
                  }
                ]
              }
            },
            {
              "name": "bundle_account",
              "writable": true
            },
            {
              "name": "oracle_data",
              "writable": true,
              "pda": {
                "seeds": [
                  {
                    "kind": "const",
                    "value": [
                      79,
                      82,
                      65,
                      67,
                      76,
                      69
                    ]
                  },
                  {
                    "kind": "account",
                    "path": "bundle_account"
                  }
                ]
              }
            },
            {
              "name": "bundle_temp_data",
              "writable": true,
              "pda": {
                "seeds": [
                  {
                    "kind": "const",
                    "value": [
                      66,
                      85,
                      78,
                      68,
                      76,
                      69,
                      95,
                      84,
                      69,
                      77,
                      80,
                      95,
                      68,
                      65,
                      84,
                      65
                    ]
                  },
                  {
                    "kind": "account",
                    "path": "bundle_account"
                  }
                ]
              }
            },
            {
              "name": "token_program",
              "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
            },
            {
              "name": "system_program",
              "address": "11111111111111111111111111111111"
            },
            {
              "name": "rent",
              "address": "SysvarRent111111111111111111111111111111111"
            }
          ]
        },
        {
          "name": "target_bundle_account"
        },
        {
          "name": "target_user_bundle_account",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  85,
                  83,
                  69,
                  82,
                  95,
                  66,
                  85,
                  78,
                  68,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "withdrawal_request.user",
                "account": "RequestWithdrawal"
              },
              {
                "kind": "account",
                "path": "target_bundle_account"
              }
            ]
          }
        }
      ],
      "args": [
        {
          "name": "shares_amount",
          "type": "u128"
        }
      ]
    },
    {
      "name": "request_deposit",
      "discriminator": [
        243,
        202,
        197,
        215,
        135,
        97,
        213,
        109
      ],
      "accounts": [
        {
          "name": "user",
          "writable": true,
          "signer": true
        },
        {
          "name": "user_token_account",
          "docs": [
            "user token account (source of funds)"
          ],
          "writable": true
        },
        {
          "name": "pending_deposit_token_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "account",
                "path": "pending_bundle_asset_authority"
              },
              {
                "kind": "const",
                "value": [
                  6,
                  221,
                  246,
                  225,
                  215,
                  101,
                  161,
                  147,
                  217,
                  203,
                  225,
                  70,
                  206,
                  235,
                  121,
                  172,
                  28,
                  180,
                  133,
                  237,
                  95,
                  91,
                  55,
                  145,
                  58,
                  140,
                  245,
                  133,
                  126,
                  255,
                  0,
                  169
                ]
              },
              {
                "kind": "account",
                "path": "asset_address"
              }
            ],
            "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_account",
          "writable": true
        },
        {
          "name": "user_bundle_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  85,
                  83,
                  69,
                  82,
                  95,
                  66,
                  85,
                  78,
                  68,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "user"
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "asset_address",
          "writable": true
        },
        {
          "name": "oracle_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  79,
                  82,
                  65,
                  67,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "bundle_temp_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  84,
                  69,
                  77,
                  80,
                  95,
                  68,
                  65,
                  84,
                  65
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "bundle_account",
          "writable": true
        },
        {
          "name": "pending_bundle_asset_authority",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  80,
                  69,
                  78,
                  68,
                  73,
                  78,
                  71,
                  95,
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  65,
                  83,
                  83,
                  69,
                  84,
                  95,
                  65,
                  85,
                  84,
                  72,
                  79,
                  82,
                  73,
                  84,
                  89
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "token_program",
          "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        }
      ],
      "args": [
        {
          "name": "amount",
          "type": "u64"
        }
      ]
    },
    {
      "name": "request_withdrawal",
      "discriminator": [
        251,
        85,
        121,
        205,
        56,
        201,
        12,
        177
      ],
      "accounts": [
        {
          "name": "user",
          "writable": true,
          "signer": true
        },
        {
          "name": "user_bundle_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  85,
                  83,
                  69,
                  82,
                  95,
                  66,
                  85,
                  78,
                  68,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "user"
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "bundle_account",
          "writable": true
        },
        {
          "name": "oracle_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  79,
                  82,
                  65,
                  67,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "bundle_temp_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  84,
                  69,
                  77,
                  80,
                  95,
                  68,
                  65,
                  84,
                  65
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "token_program",
          "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        },
        {
          "name": "rent",
          "address": "SysvarRent111111111111111111111111111111111"
        }
      ],
      "args": [
        {
          "name": "shares_amount",
          "type": "u128"
        }
      ]
    },
    {
      "name": "set_bundle_creator",
      "discriminator": [
        190,
        144,
        93,
        89,
        14,
        138,
        195,
        166
      ],
      "accounts": [
        {
          "name": "admin",
          "writable": true,
          "signer": true
        },
        {
          "name": "bundle_master_account",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  77,
                  65,
                  83,
                  84,
                  69,
                  82
                ]
              }
            ]
          }
        },
        {
          "name": "creator",
          "docs": [
            "CHECK safe as only the pubkey is read"
          ]
        },
        {
          "name": "bundle_creator_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  67,
                  82,
                  69,
                  65,
                  84,
                  79,
                  82
                ]
              },
              {
                "kind": "account",
                "path": "creator"
              }
            ]
          }
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        }
      ],
      "args": [
        {
          "name": "allowed",
          "type": "bool"
        }
      ]
    },
    {
      "name": "set_delays",
      "discriminator": [
        18,
        56,
        143,
        125,
        147,
        15,
        199,
        108
      ],
      "accounts": [
        {
          "name": "manager",
          "writable": true,
          "signer": true
        },
        {
          "name": "bundle_account",
          "writable": true
        }
      ],
      "args": [
        {
          "name": "withdrawal_delay",
          "type": "u64"
        },
        {
          "name": "withdrawal_t_min",
          "type": "i64"
        },
        {
          "name": "withdrawal_t_max",
          "type": "i64"
        },
        {
          "name": "withdrawal_curve",
          "type": "f32"
        }
      ]
    },
    {
      "name": "set_fees",
      "discriminator": [
        137,
        178,
        49,
        58,
        0,
        245,
        242,
        190
      ],
      "accounts": [
        {
          "name": "manager",
          "writable": true,
          "signer": true
        },
        {
          "name": "bundle_account",
          "writable": true
        }
      ],
      "args": [
        {
          "name": "treasury",
          "type": "pubkey"
        },
        {
          "name": "deposit_fee",
          "type": "u32"
        },
        {
          "name": "withdrawal_fee",
          "type": "u32"
        },
        {
          "name": "performance_fee",
          "type": "u32"
        },
        {
          "name": "management_fee_bps",
          "type": "u32"
        }
      ]
    },
    {
      "name": "set_keeper",
      "discriminator": [
        102,
        94,
        23,
        78,
        157,
        222,
        243,
        214
      ],
      "accounts": [
        {
          "name": "manager",
          "writable": true,
          "signer": true
        },
        {
          "name": "bundle_account",
          "writable": true
        }
      ],
      "args": [
        {
          "name": "newkeeper",
          "type": "pubkey"
        }
      ]
    },
    {
      "name": "set_max_deposit_amount",
      "discriminator": [
        29,
        66,
        217,
        12,
        80,
        248,
        214,
        9
      ],
      "accounts": [
        {
          "name": "manager",
          "writable": true,
          "signer": true
        },
        {
          "name": "bundle_account",
          "writable": true
        }
      ],
      "args": [
        {
          "name": "max_deposit_amount",
          "type": "u64"
        }
      ]
    },
    {
      "name": "set_min_deposit_amount",
      "discriminator": [
        224,
        153,
        215,
        211,
        233,
        14,
        124,
        128
      ],
      "accounts": [
        {
          "name": "manager",
          "writable": true,
          "signer": true
        },
        {
          "name": "bundle_account",
          "writable": true
        }
      ],
      "args": [
        {
          "name": "min_deposit_amount",
          "type": "u64"
        }
      ]
    },
    {
      "name": "set_oracle_buffer",
      "discriminator": [
        7,
        196,
        14,
        82,
        110,
        244,
        46,
        33
      ],
      "accounts": [
        {
          "name": "manager",
          "writable": true,
          "signer": true
        },
        {
          "name": "bundle_account",
          "writable": true
        }
      ],
      "args": [
        {
          "name": "oracle_buffer",
          "type": "u64"
        }
      ]
    },
    {
      "name": "set_oracle_max_age",
      "discriminator": [
        75,
        127,
        254,
        84,
        122,
        23,
        122,
        82
      ],
      "accounts": [
        {
          "name": "manager",
          "writable": true,
          "signer": true
        },
        {
          "name": "bundle_account",
          "writable": true
        }
      ],
      "args": [
        {
          "name": "oracle_max_age",
          "type": "i64"
        }
      ]
    },
    {
      "name": "set_oracle_update_time_limit",
      "discriminator": [
        114,
        2,
        35,
        146,
        19,
        99,
        67,
        202
      ],
      "accounts": [
        {
          "name": "manager",
          "writable": true,
          "signer": true
        },
        {
          "name": "bundle_account",
          "writable": true
        }
      ],
      "args": [
        {
          "name": "oracle_update_time_limit",
          "type": "i64"
        }
      ]
    },
    {
      "name": "set_referral_tier_config",
      "discriminator": [
        9,
        78,
        137,
        136,
        182,
        116,
        76,
        138
      ],
      "accounts": [
        {
          "name": "manager",
          "writable": true,
          "signer": true
        },
        {
          "name": "bundle_account",
          "writable": true
        }
      ],
      "args": [
        {
          "name": "referral_tiers",
          "type": {
            "vec": {
              "defined": {
                "name": "ReferralTier"
              }
            }
          }
        }
      ]
    },
    {
      "name": "set_referrer_active",
      "discriminator": [
        173,
        21,
        130,
        158,
        15,
        1,
        83,
        24
      ],
      "accounts": [
        {
          "name": "manager",
          "writable": true,
          "signer": true
        },
        {
          "name": "bundle_account"
        },
        {
          "name": "referrer_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  82,
                  69,
                  70,
                  69,
                  82,
                  82,
                  69,
                  82
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              },
              {
                "kind": "account",
                "path": "referrer_account.referrer",
                "account": "ReferrerAccount"
              }
            ]
          }
        }
      ],
      "args": [
        {
          "name": "active",
          "type": "bool"
        }
      ]
    },
    {
      "name": "set_referrer_config",
      "discriminator": [
        85,
        90,
        76,
        126,
        69,
        34,
        205,
        22
      ],
      "accounts": [
        {
          "name": "manager",
          "writable": true,
          "signer": true
        },
        {
          "name": "bundle_account",
          "writable": true
        }
      ],
      "args": [
        {
          "name": "referrer_enabled",
          "type": "bool"
        },
        {
          "name": "referrer_min_deposit_amount",
          "type": "u64"
        }
      ]
    },
    {
      "name": "set_referrer_rate_override",
      "discriminator": [
        117,
        110,
        164,
        192,
        156,
        211,
        27,
        46
      ],
      "accounts": [
        {
          "name": "manager",
          "writable": true,
          "signer": true
        },
        {
          "name": "bundle_account"
        },
        {
          "name": "referrer_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  82,
                  69,
                  70,
                  69,
                  82,
                  82,
                  69,
                  82
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              },
              {
                "kind": "account",
                "path": "referrer_account.referrer",
                "account": "ReferrerAccount"
              }
            ]
          }
        }
      ],
      "args": [
        {
          "name": "override_mask",
          "type": "u8"
        },
        {
          "name": "custom_pfee_bps",
          "type": "u32"
        },
        {
          "name": "custom_mfee_bps",
          "type": "u32"
        }
      ]
    },
    {
      "name": "set_user_fee_override",
      "discriminator": [
        207,
        40,
        210,
        198,
        66,
        33,
        153,
        209
      ],
      "accounts": [
        {
          "name": "manager",
          "writable": true,
          "signer": true
        },
        {
          "name": "user_bundle_account_owner"
        },
        {
          "name": "user_bundle_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  85,
                  83,
                  69,
                  82,
                  95,
                  66,
                  85,
                  78,
                  68,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "user_bundle_account_owner"
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "bundle_account"
        }
      ],
      "args": [
        {
          "name": "override_mask",
          "type": "u8"
        },
        {
          "name": "custom_deposit_fee_bps",
          "type": "u32"
        },
        {
          "name": "custom_withdrawal_fee_bps",
          "type": "u32"
        },
        {
          "name": "custom_performance_fee_bps",
          "type": "u32"
        },
        {
          "name": "custom_management_fee_bps",
          "type": "u32"
        }
      ]
    },
    {
      "name": "set_user_referrer",
      "discriminator": [
        71,
        167,
        153,
        60,
        26,
        30,
        50,
        114
      ],
      "accounts": [
        {
          "name": "user",
          "signer": true
        },
        {
          "name": "bundle_account"
        },
        {
          "name": "user_bundle_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  85,
                  83,
                  69,
                  82,
                  95,
                  66,
                  85,
                  78,
                  68,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "user"
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "referrer_account",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  82,
                  69,
                  70,
                  69,
                  82,
                  82,
                  69,
                  82
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              },
              {
                "kind": "account",
                "path": "referrer_account.referrer",
                "account": "ReferrerAccount"
              }
            ]
          }
        },
        {
          "name": "referrer_user_bundle_account",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  85,
                  83,
                  69,
                  82,
                  95,
                  66,
                  85,
                  78,
                  68,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "referrer_account.referrer",
                "account": "ReferrerAccount"
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        }
      ],
      "args": []
    },
    {
      "name": "set_user_withdrawal_timing_override",
      "discriminator": [
        21,
        31,
        116,
        121,
        140,
        237,
        174,
        244
      ],
      "accounts": [
        {
          "name": "manager",
          "writable": true,
          "signer": true
        },
        {
          "name": "user_bundle_account_owner"
        },
        {
          "name": "user_bundle_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  85,
                  83,
                  69,
                  82,
                  95,
                  66,
                  85,
                  78,
                  68,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "user_bundle_account_owner"
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "bundle_account"
        }
      ],
      "args": [
        {
          "name": "override_mask",
          "type": "u8"
        },
        {
          "name": "custom_withdrawal_delay",
          "type": "u64"
        },
        {
          "name": "custom_withdrawal_t_min",
          "type": "i64"
        },
        {
          "name": "custom_withdrawal_t_max",
          "type": "i64"
        },
        {
          "name": "custom_withdrawal_curve",
          "type": "f32"
        }
      ]
    },
    {
      "name": "set_withdrawal_redemption_schedule",
      "discriminator": [
        134,
        108,
        237,
        103,
        185,
        13,
        177,
        105
      ],
      "accounts": [
        {
          "name": "manager",
          "writable": true,
          "signer": true
        },
        {
          "name": "bundle_account",
          "writable": true
        }
      ],
      "args": [
        {
          "name": "withdrawal_redemption_request_cutoff_ts",
          "type": "i64"
        },
        {
          "name": "withdrawal_redemption_unlock_current_cycle_ts",
          "type": "i64"
        },
        {
          "name": "withdrawal_redemption_unlock_next_cycle_ts",
          "type": "i64"
        }
      ]
    },
    {
      "name": "start_distribution",
      "discriminator": [
        118,
        230,
        215,
        75,
        83,
        2,
        163,
        35
      ],
      "accounts": [
        {
          "name": "keeper",
          "writable": true,
          "signer": true
        },
        {
          "name": "bundle_account",
          "writable": true
        },
        {
          "name": "bundle_temp_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  84,
                  69,
                  77,
                  80,
                  95,
                  68,
                  65,
                  84,
                  65
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "oracle_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  79,
                  82,
                  65,
                  67,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        }
      ],
      "args": []
    },
    {
      "name": "update_allocations",
      "discriminator": [
        229,
        242,
        146,
        124,
        44,
        15,
        130,
        95
      ],
      "accounts": [
        {
          "name": "manager",
          "writable": true,
          "signer": true
        },
        {
          "name": "receiver_address",
          "writable": true
        },
        {
          "name": "bundle_account",
          "writable": true
        },
        {
          "name": "strategy_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  83,
                  84,
                  82,
                  65,
                  84,
                  69,
                  71,
                  89
                ]
              },
              {
                "kind": "account",
                "path": "receiver_address"
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        }
      ],
      "args": [
        {
          "name": "new_allocation_bps",
          "type": "u32"
        }
      ]
    },
    {
      "name": "update_oracle",
      "discriminator": [
        112,
        41,
        209,
        18,
        248,
        226,
        252,
        188
      ],
      "accounts": [
        {
          "name": "keeper",
          "writable": true,
          "signer": true
        },
        {
          "name": "bundle_account",
          "writable": true
        },
        {
          "name": "bundle_temp_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  66,
                  85,
                  78,
                  68,
                  76,
                  69,
                  95,
                  84,
                  69,
                  77,
                  80,
                  95,
                  68,
                  65,
                  84,
                  65
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        },
        {
          "name": "oracle_data",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  79,
                  82,
                  65,
                  67,
                  76,
                  69
                ]
              },
              {
                "kind": "account",
                "path": "bundle_account"
              }
            ]
          }
        }
      ],
      "args": [
        {
          "name": "new_equity",
          "type": "u64"
        }
      ]
    }
  ],
  "accounts": [
    {
      "name": "Bundle",
      "discriminator": [
        15,
        82,
        167,
        230,
        37,
        214,
        82,
        80
      ]
    },
    {
      "name": "BundleCreatorAccount",
      "discriminator": [
        210,
        168,
        93,
        196,
        184,
        35,
        210,
        101
      ]
    },
    {
      "name": "BundleMasterAccount",
      "discriminator": [
        252,
        50,
        148,
        252,
        178,
        231,
        4,
        149
      ]
    },
    {
      "name": "BundleTempData",
      "discriminator": [
        3,
        137,
        171,
        33,
        191,
        15,
        54,
        4
      ]
    },
    {
      "name": "OracleData",
      "discriminator": [
        26,
        131,
        25,
        110,
        6,
        141,
        10,
        37
      ]
    },
    {
      "name": "ReferrerAccount",
      "discriminator": [
        48,
        19,
        160,
        54,
        76,
        220,
        70,
        9
      ]
    },
    {
      "name": "Strategy",
      "discriminator": [
        174,
        110,
        39,
        119,
        82,
        106,
        169,
        102
      ]
    },
    {
      "name": "UserBundleAccount",
      "discriminator": [
        32,
        181,
        106,
        26,
        67,
        130,
        185,
        241
      ]
    }
  ],
  "events": [
    {
      "name": "Allocated",
      "discriminator": [
        146,
        11,
        194,
        76,
        4,
        220,
        226,
        43
      ]
    },
    {
      "name": "AllocationsUpdated",
      "discriminator": [
        97,
        171,
        21,
        101,
        243,
        48,
        182,
        32
      ]
    },
    {
      "name": "AssignedProfitShare",
      "discriminator": [
        13,
        208,
        181,
        192,
        192,
        238,
        120,
        197
      ]
    },
    {
      "name": "AuthorizedReceiverAdded",
      "discriminator": [
        185,
        19,
        240,
        219,
        194,
        25,
        19,
        234
      ]
    },
    {
      "name": "AuthorizedReceiverRemoved",
      "discriminator": [
        69,
        73,
        150,
        51,
        198,
        98,
        43,
        0
      ]
    },
    {
      "name": "BundleCreatorAccountChanged",
      "discriminator": [
        82,
        51,
        169,
        242,
        101,
        205,
        39,
        52
      ]
    },
    {
      "name": "BundleDepositorInitialized",
      "discriminator": [
        136,
        231,
        96,
        201,
        187,
        244,
        121,
        42
      ]
    },
    {
      "name": "BundleMasterAccountInitialized",
      "discriminator": [
        238,
        211,
        137,
        135,
        255,
        239,
        90,
        91
      ]
    },
    {
      "name": "BundleMasterAdminChanged",
      "discriminator": [
        220,
        192,
        90,
        93,
        19,
        132,
        73,
        208
      ]
    },
    {
      "name": "BundleSwitchCompleted",
      "discriminator": [
        189,
        237,
        164,
        90,
        103,
        174,
        64,
        73
      ]
    },
    {
      "name": "BundleSwitchFallbackToWallet",
      "discriminator": [
        214,
        242,
        67,
        218,
        119,
        180,
        28,
        139
      ]
    },
    {
      "name": "BundleSwitchRequested",
      "discriminator": [
        88,
        172,
        46,
        180,
        196,
        3,
        226,
        44
      ]
    },
    {
      "name": "ChangedCoreParams",
      "discriminator": [
        156,
        119,
        46,
        221,
        22,
        121,
        186,
        53
      ]
    },
    {
      "name": "ChargedFeesToUser",
      "discriminator": [
        201,
        63,
        172,
        93,
        230,
        105,
        127,
        255
      ]
    },
    {
      "name": "DelaysSet",
      "discriminator": [
        241,
        35,
        245,
        242,
        188,
        53,
        99,
        208
      ]
    },
    {
      "name": "DepositRequested",
      "discriminator": [
        35,
        33,
        229,
        138,
        116,
        238,
        192,
        22
      ]
    },
    {
      "name": "DepositedToDriftVault",
      "discriminator": [
        200,
        86,
        135,
        159,
        147,
        246,
        123,
        85
      ]
    },
    {
      "name": "DistributedToReceivers",
      "discriminator": [
        204,
        43,
        29,
        187,
        40,
        60,
        126,
        14
      ]
    },
    {
      "name": "DistributionEnded",
      "discriminator": [
        21,
        180,
        83,
        66,
        101,
        235,
        108,
        208
      ]
    },
    {
      "name": "DistributionStarted",
      "discriminator": [
        148,
        231,
        87,
        211,
        194,
        167,
        104,
        6
      ]
    },
    {
      "name": "DustSharesBurned",
      "discriminator": [
        166,
        218,
        110,
        236,
        33,
        135,
        162,
        139
      ]
    },
    {
      "name": "InitializedNewVaultDepositor",
      "discriminator": [
        16,
        182,
        169,
        250,
        42,
        81,
        202,
        173
      ]
    },
    {
      "name": "InitializedReceivers",
      "discriminator": [
        52,
        175,
        118,
        72,
        108,
        236,
        162,
        134
      ]
    },
    {
      "name": "InitializedVault",
      "discriminator": [
        123,
        23,
        51,
        180,
        138,
        156,
        172,
        91
      ]
    },
    {
      "name": "ManagerWithdrawal",
      "discriminator": [
        167,
        6,
        24,
        193,
        128,
        74,
        94,
        207
      ]
    },
    {
      "name": "ManagerWithdrawalWithSplit",
      "discriminator": [
        147,
        151,
        147,
        137,
        189,
        58,
        26,
        122
      ]
    },
    {
      "name": "MaxDepositAmountSet",
      "discriminator": [
        204,
        243,
        42,
        160,
        116,
        144,
        207,
        38
      ]
    },
    {
      "name": "MinDepositAmountSet",
      "discriminator": [
        143,
        114,
        126,
        18,
        32,
        207,
        22,
        19
      ]
    },
    {
      "name": "NettingCompleted",
      "discriminator": [
        176,
        162,
        4,
        24,
        91,
        47,
        115,
        81
      ]
    },
    {
      "name": "NewKeeperSet",
      "discriminator": [
        33,
        68,
        171,
        11,
        43,
        129,
        192,
        45
      ]
    },
    {
      "name": "NewManagerSet",
      "discriminator": [
        215,
        213,
        93,
        251,
        202,
        98,
        253,
        29
      ]
    },
    {
      "name": "OracleBufferSet",
      "discriminator": [
        188,
        151,
        124,
        251,
        253,
        205,
        187,
        32
      ]
    },
    {
      "name": "OracleMaxAgeSet",
      "discriminator": [
        51,
        17,
        80,
        99,
        8,
        112,
        166,
        44
      ]
    },
    {
      "name": "OracleUpdateTimeLimitSet",
      "discriminator": [
        196,
        182,
        75,
        225,
        80,
        5,
        111,
        103
      ]
    },
    {
      "name": "OracleUpdated",
      "discriminator": [
        138,
        9,
        51,
        219,
        228,
        198,
        11,
        147
      ]
    },
    {
      "name": "PausedDepositsWithdrawals",
      "discriminator": [
        131,
        139,
        248,
        233,
        29,
        255,
        148,
        98
      ]
    },
    {
      "name": "Redeemed",
      "discriminator": [
        14,
        29,
        183,
        71,
        31,
        165,
        107,
        38
      ]
    },
    {
      "name": "ReferralFeesAccrued",
      "discriminator": [
        245,
        211,
        52,
        213,
        213,
        35,
        214,
        128
      ]
    },
    {
      "name": "ReferralTierConfigSet",
      "discriminator": [
        104,
        196,
        57,
        135,
        223,
        13,
        6,
        51
      ]
    },
    {
      "name": "ReferrerActiveSet",
      "discriminator": [
        208,
        28,
        171,
        184,
        192,
        152,
        237,
        18
      ]
    },
    {
      "name": "ReferrerConfigSet",
      "discriminator": [
        21,
        123,
        218,
        66,
        121,
        117,
        89,
        200
      ]
    },
    {
      "name": "ReferrerRateOverrideSet",
      "discriminator": [
        242,
        147,
        205,
        239,
        19,
        211,
        213,
        75
      ]
    },
    {
      "name": "ReferrerRegistered",
      "discriminator": [
        106,
        198,
        28,
        51,
        115,
        46,
        57,
        3
      ]
    },
    {
      "name": "ReferrerWithdrawalProcessed",
      "discriminator": [
        118,
        14,
        179,
        109,
        134,
        95,
        211,
        194
      ]
    },
    {
      "name": "ReferrerWithdrawalRequested",
      "discriminator": [
        82,
        234,
        98,
        69,
        123,
        228,
        54,
        239
      ]
    },
    {
      "name": "Refilled",
      "discriminator": [
        103,
        127,
        43,
        0,
        232,
        50,
        198,
        85
      ]
    },
    {
      "name": "RefundedDeposit",
      "discriminator": [
        193,
        61,
        203,
        180,
        250,
        38,
        151,
        31
      ]
    },
    {
      "name": "RequestedWithdrawalToDriftVault",
      "discriminator": [
        143,
        146,
        104,
        155,
        23,
        243,
        14,
        231
      ]
    },
    {
      "name": "StrategyAdded",
      "discriminator": [
        248,
        59,
        8,
        90,
        242,
        168,
        247,
        204
      ]
    },
    {
      "name": "StrategyEnabled",
      "discriminator": [
        105,
        24,
        77,
        30,
        163,
        227,
        107,
        102
      ]
    },
    {
      "name": "StrategyRemoved",
      "discriminator": [
        118,
        162,
        92,
        185,
        73,
        29,
        245,
        144
      ]
    },
    {
      "name": "UserBundleAccountClosed",
      "discriminator": [
        111,
        102,
        134,
        54,
        238,
        23,
        157,
        183
      ]
    },
    {
      "name": "UserFeeOverrideCleared",
      "discriminator": [
        109,
        200,
        134,
        162,
        195,
        197,
        177,
        189
      ]
    },
    {
      "name": "UserFeeOverrideSet",
      "discriminator": [
        194,
        56,
        240,
        83,
        158,
        247,
        78,
        66
      ]
    },
    {
      "name": "UserReferrerSet",
      "discriminator": [
        142,
        193,
        234,
        134,
        173,
        80,
        184,
        232
      ]
    },
    {
      "name": "UserWithdrawalTimingOverrideCleared",
      "discriminator": [
        78,
        111,
        250,
        12,
        64,
        54,
        226,
        251
      ]
    },
    {
      "name": "UserWithdrawalTimingOverrideSet",
      "discriminator": [
        119,
        165,
        226,
        212,
        49,
        249,
        115,
        145
      ]
    },
    {
      "name": "VaultNeutralFeeIncrementerSet",
      "discriminator": [
        7,
        53,
        169,
        104,
        118,
        22,
        134,
        207
      ]
    },
    {
      "name": "WithdrawalRedemptionScheduleSet",
      "discriminator": [
        245,
        195,
        40,
        76,
        237,
        247,
        150,
        107
      ]
    },
    {
      "name": "WithdrawalRequested",
      "discriminator": [
        75,
        207,
        21,
        12,
        160,
        102,
        150,
        55
      ]
    },
    {
      "name": "WithdrawnFromDriftVault",
      "discriminator": [
        249,
        177,
        58,
        24,
        88,
        115,
        105,
        193
      ]
    }
  ],
  "errors": [
    {
      "code": 6000,
      "name": "InsufficientFunds",
      "msg": "Insufficient funds to process withdrawal"
    },
    {
      "code": 6001,
      "name": "AllocationAmountZero",
      "msg": "Allocation amount must be > 0"
    },
    {
      "code": 6002,
      "name": "RedemptionAmountExceeded",
      "msg": "Redemption exceeds bundle balance"
    },
    {
      "code": 6003,
      "name": "RefillAmountInvalid",
      "msg": "Refill amount must be > 0"
    },
    {
      "code": 6004,
      "name": "UnauthorizedKeeperAction",
      "msg": "Not bundle keeper"
    },
    {
      "code": 6005,
      "name": "UnauthorizedManagerAction",
      "msg": "Not bundle manager"
    },
    {
      "code": 6006,
      "name": "UnauthorizedAdminAction",
      "msg": "Not bundle admin"
    },
    {
      "code": 6007,
      "name": "UnauthorizedBundleCreator",
      "msg": "Not whitelisted bundle creator"
    },
    {
      "code": 6008,
      "name": "CallerNotNeutralFeeIncrementer",
      "msg": "Not neutral fee incrementer"
    },
    {
      "code": 6009,
      "name": "AmountMustBeBelowMax",
      "msg": "Amount above max limit"
    },
    {
      "code": 6010,
      "name": "InvalidNeutralFeeIncrementer",
      "msg": "Invalid fee incrementer"
    },
    {
      "code": 6011,
      "name": "InvalidReceiver",
      "msg": "Invalid receiver address"
    },
    {
      "code": 6012,
      "name": "MathError",
      "msg": "Math error"
    },
    {
      "code": 6013,
      "name": "InvalidAllocations",
      "msg": "Invalid allocations"
    },
    {
      "code": 6014,
      "name": "MustBeInWhitelist",
      "msg": "Not in whitelist"
    },
    {
      "code": 6015,
      "name": "DistributionAlreadyStarted",
      "msg": "Distribution already started"
    },
    {
      "code": 6016,
      "name": "DistributionNotStarted",
      "msg": "Distribution not started"
    },
    {
      "code": 6017,
      "name": "LeftToDistributeNotZero",
      "msg": "Distribution amount not zero"
    },
    {
      "code": 6018,
      "name": "ReceiverAlreadyAllocated",
      "msg": "Receiver already allocated"
    },
    {
      "code": 6019,
      "name": "RawTransferReceiver",
      "msg": "Not a raw transfer receiver"
    },
    {
      "code": 6020,
      "name": "InvalidTwapPeriod",
      "msg": "Invalid twap period"
    },
    {
      "code": 6021,
      "name": "RefillAmountExceeded",
      "msg": "Refill amount exceeded"
    },
    {
      "code": 6022,
      "name": "PodTokenTotalSupplyZero",
      "msg": "Pod token total supply is zero"
    },
    {
      "code": 6023,
      "name": "AllocationBpsGreaterThanGlobalAllocationBps",
      "msg": "Allocation bps greater than global allocation bps"
    },
    {
      "code": 6024,
      "name": "EquityOutOfBufferBound",
      "msg": "Equity out of buffer bound"
    },
    {
      "code": 6025,
      "name": "RedemptionAmountZero",
      "msg": "Redemption amount must be > 0"
    },
    {
      "code": 6026,
      "name": "PendingDepositExists",
      "msg": "Pending deposit exists"
    },
    {
      "code": 6027,
      "name": "InsufficientSharesBalance",
      "msg": "Insufficient Shares balance"
    },
    {
      "code": 6028,
      "name": "PendingWithdrawalExists",
      "msg": "Pending withdrawal exists"
    },
    {
      "code": 6029,
      "name": "PendingDepositOrWithdrawalExists",
      "msg": "Pending deposit or withdrawal exists"
    },
    {
      "code": 6030,
      "name": "NoPendingWithdrawal",
      "msg": "No pending withdrawal"
    },
    {
      "code": 6031,
      "name": "WithdrawalAlreadyProcessed",
      "msg": "Withdrawal already processed"
    },
    {
      "code": 6032,
      "name": "PendingDepositAmountZero",
      "msg": "Pending deposit amount is zero"
    },
    {
      "code": 6033,
      "name": "InsufficientBundleBalance",
      "msg": "Insufficient bundle balance"
    },
    {
      "code": 6034,
      "name": "NoPendingTransactions",
      "msg": "No pending transactions"
    },
    {
      "code": 6035,
      "name": "DepositsExtraInPendingsNotZero",
      "msg": "Deposits extra in pendings not zero"
    },
    {
      "code": 6036,
      "name": "PendingTransactionsExist",
      "msg": "Pending transactions exist"
    },
    {
      "code": 6037,
      "name": "ManagerSharesZero",
      "msg": "Manager shares is zero"
    },
    {
      "code": 6038,
      "name": "PausedDepositsWithdrawals",
      "msg": "Paused deposits withdrawals"
    },
    {
      "code": 6039,
      "name": "UnpausedDepositsWithdrawals",
      "msg": "Unpaused deposits withdrawals"
    },
    {
      "code": 6040,
      "name": "NettingNotDone",
      "msg": "Netting not done"
    },
    {
      "code": 6041,
      "name": "NettingAlreadyDone",
      "msg": "Netting already done"
    },
    {
      "code": 6042,
      "name": "OracleNotUpdated",
      "msg": "Oracle not updated"
    },
    {
      "code": 6043,
      "name": "MaxDepositAmountExceeded",
      "msg": "Max deposit amount exceeded"
    },
    {
      "code": 6044,
      "name": "TotalAssetExceedNewMaxDepositAmount",
      "msg": "Total asset exceed new max deposit amount"
    },
    {
      "code": 6045,
      "name": "AllocationBpsIsZero",
      "msg": "Allocation bps is zero"
    },
    {
      "code": 6046,
      "name": "DepositAmountZero",
      "msg": "Deposit amount is zero"
    },
    {
      "code": 6047,
      "name": "InvalidWithdrawalDelay",
      "msg": "Invalid withdrawal delay"
    },
    {
      "code": 6048,
      "name": "InvalidWithdrawalCooldownPeriod",
      "msg": "Invalid withdrawal cooldown period"
    },
    {
      "code": 6049,
      "name": "InvalidOracleBuffer",
      "msg": "Invalid oracle buffer"
    },
    {
      "code": 6050,
      "name": "ExcessivePerformanceFee",
      "msg": "Excessive performance fee"
    },
    {
      "code": 6051,
      "name": "ExcessiveManagementFee",
      "msg": "Excessive management fee"
    },
    {
      "code": 6052,
      "name": "ExcessiveDepositFee",
      "msg": "Excessive deposit fee"
    },
    {
      "code": 6053,
      "name": "ExcessiveWithdrawFee",
      "msg": "Excessive withdraw fee"
    },
    {
      "code": 6054,
      "name": "WithdrawalDelayNotMet",
      "msg": "Withdrawal delay not met"
    },
    {
      "code": 6055,
      "name": "InvalidAssetPrecision",
      "msg": "Invalid asset precision"
    },
    {
      "code": 6056,
      "name": "InvalidAssetAddress",
      "msg": "Invalid asset address"
    },
    {
      "code": 6057,
      "name": "InvalidPermissionnedDepositor",
      "msg": "Invalid permissionned depositor"
    },
    {
      "code": 6058,
      "name": "PayerNotAuthority",
      "msg": "Payer is not the authority"
    },
    {
      "code": 6059,
      "name": "StrategyAlreadyEnabled",
      "msg": "Strategy is already enabled"
    },
    {
      "code": 6060,
      "name": "StrategyDisabled",
      "msg": "Strategy is disabled"
    },
    {
      "code": 6061,
      "name": "InvalidWithdrawalAmount",
      "msg": "Invalid withdrawal amount"
    },
    {
      "code": 6062,
      "name": "BundleNotPermissionned",
      "msg": "Not permissionned"
    },
    {
      "code": 6063,
      "name": "BundleIsPermissionned",
      "msg": "Bundle is permissionned, use initialize_permissioned_bundle_depositor"
    },
    {
      "code": 6064,
      "name": "TooManyAllocatedReceivers",
      "msg": "Too many allocated receivers"
    },
    {
      "code": 6065,
      "name": "OracleUpdateTooFrequent",
      "msg": "Oracle update too frequent"
    },
    {
      "code": 6066,
      "name": "UserBundleAccountNotEmpty",
      "msg": "User bundle account not empty"
    },
    {
      "code": 6067,
      "name": "MinDepositAmountNotMet",
      "msg": "Min deposit amount not met"
    },
    {
      "code": 6068,
      "name": "InvalidOracleMaxAge",
      "msg": "Invalid oracle max age"
    },
    {
      "code": 6069,
      "name": "InvalidOracleUpdateTimeLimit",
      "msg": "Invalid oracle update time limit"
    },
    {
      "code": 6070,
      "name": "InvalidWithdrawalRedemptionSchedule",
      "msg": "Invalid withdrawal redemption schedule"
    },
    {
      "code": 6071,
      "name": "InvalidUserFeeConfig",
      "msg": "Invalid user fee configuration"
    },
    {
      "code": 6072,
      "name": "EmptyUserFeeClearRequest",
      "msg": "Empty user fee clear request"
    },
    {
      "code": 6073,
      "name": "NoUserFeeOverrideToClear",
      "msg": "No user fee override to clear"
    },
    {
      "code": 6074,
      "name": "InvalidUserWithdrawalTimingConfig",
      "msg": "Invalid user withdrawal timing configuration"
    },
    {
      "code": 6075,
      "name": "EmptyUserWithdrawalTimingClearRequest",
      "msg": "Empty user withdrawal timing clear request"
    },
    {
      "code": 6076,
      "name": "NoUserWithdrawalTimingOverrideToClear",
      "msg": "No user withdrawal timing override to clear"
    },
    {
      "code": 6077,
      "name": "SwitchTargetSameAsSource",
      "msg": "Switch target cannot be source bundle"
    },
    {
      "code": 6078,
      "name": "SwitchAssetMintMismatch",
      "msg": "Switch asset mint mismatch"
    },
    {
      "code": 6079,
      "name": "SwitchAlreadyActive",
      "msg": "Switch already active"
    },
    {
      "code": 6080,
      "name": "NoPendingSwitch",
      "msg": "No pending switch"
    },
    {
      "code": 6081,
      "name": "SwitchTargetAccountsMissing",
      "msg": "Switch target accounts missing"
    },
    {
      "code": 6082,
      "name": "SwitchTargetAccountMismatch",
      "msg": "Switch target account mismatch"
    },
    {
      "code": 6083,
      "name": "InvalidFeeSplit",
      "msg": "Invalid fee split"
    },
    {
      "code": 6084,
      "name": "InvalidReferralConfig",
      "msg": "Invalid referral configuration"
    },
    {
      "code": 6085,
      "name": "ReferralsDisabled",
      "msg": "Referrals disabled for bundle"
    },
    {
      "code": 6086,
      "name": "ReferralAlreadySet",
      "msg": "Referral already set"
    },
    {
      "code": 6087,
      "name": "UserBundleAccountHasActivity",
      "msg": "User has existing bundle activity"
    },
    {
      "code": 6088,
      "name": "ReferrerAccountMissing",
      "msg": "Referrer account missing"
    },
    {
      "code": 6089,
      "name": "ReferrerAccountMismatch",
      "msg": "Referrer account mismatch"
    },
    {
      "code": 6090,
      "name": "ReferrerSharesZero",
      "msg": "Referrer shares are zero"
    },
    {
      "code": 6091,
      "name": "UnauthorizedReferrerAction",
      "msg": "Not referrer"
    },
    {
      "code": 6092,
      "name": "ReferrerDepositTooLow",
      "msg": "Referrer deposit too low"
    },
    {
      "code": 6093,
      "name": "InvalidReferralTierConfig",
      "msg": "Invalid referral tier configuration"
    }
  ],
  "types": [
    {
      "name": "Allocated",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "from",
            "type": "pubkey"
          },
          {
            "name": "to",
            "type": "pubkey"
          },
          {
            "name": "amount",
            "type": "u64"
          },
          {
            "name": "timestamp",
            "type": "i64"
          },
          {
            "name": "bundle_account_key",
            "type": "pubkey"
          },
          {
            "name": "net_amount",
            "type": "u64"
          },
          {
            "name": "share_price",
            "type": "u128"
          },
          {
            "name": "user_shares_before",
            "type": "u128"
          },
          {
            "name": "user_shares_after",
            "type": "u128"
          },
          {
            "name": "total_shares",
            "type": "u128"
          },
          {
            "name": "referred_net_deposits_after",
            "type": {
              "option": "i128"
            }
          }
        ]
      }
    },
    {
      "name": "AllocationsUpdated",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "receiver_address",
            "type": "pubkey"
          },
          {
            "name": "allocation_bps",
            "type": "u32"
          }
        ]
      }
    },
    {
      "name": "AssignedProfitShare",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "amount",
            "type": "u128"
          }
        ]
      }
    },
    {
      "name": "AuthorizedReceiverAdded",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "allowed",
            "type": "bool"
          }
        ]
      }
    },
    {
      "name": "AuthorizedReceiverRemoved",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "allowed",
            "type": "bool"
          }
        ]
      }
    },
    {
      "name": "Bundle",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "name",
            "type": {
              "array": [
                "u8",
                32
              ]
            }
          },
          {
            "name": "manager",
            "type": "pubkey"
          },
          {
            "name": "keeper",
            "type": "pubkey"
          },
          {
            "name": "treasury_account",
            "type": "pubkey"
          },
          {
            "name": "allocated_receivers",
            "type": {
              "vec": "pubkey"
            }
          },
          {
            "name": "bundle_underlying_balance",
            "type": "u64"
          },
          {
            "name": "max_deposit_amount",
            "type": "u64"
          },
          {
            "name": "withdrawal_delay",
            "type": "u64"
          },
          {
            "name": "performance_fee",
            "type": "u32"
          },
          {
            "name": "management_fee_bps",
            "type": "u32"
          },
          {
            "name": "deposit_fee",
            "type": "u32"
          },
          {
            "name": "withdrawal_fee",
            "type": "u32"
          },
          {
            "name": "manager_pfee_shares",
            "type": "u128"
          },
          {
            "name": "current_allocation_bps",
            "type": "u32"
          },
          {
            "name": "oracle_buffer",
            "type": "u64"
          },
          {
            "name": "total_shares",
            "type": "u128"
          },
          {
            "name": "asset_precision",
            "type": "u64"
          },
          {
            "name": "asset_address",
            "type": "pubkey"
          },
          {
            "name": "asset_decimals",
            "type": "u8"
          },
          {
            "name": "withdrawal_t_min",
            "type": "i64"
          },
          {
            "name": "withdrawal_t_max",
            "type": "i64"
          },
          {
            "name": "withdrawal_curve",
            "type": "f32"
          },
          {
            "name": "permissionned",
            "type": "bool"
          },
          {
            "name": "manager_mfee_shares",
            "type": "u128"
          },
          {
            "name": "min_deposit_amount",
            "type": "u64"
          },
          {
            "name": "oracle_update_time_limit",
            "type": "i64"
          },
          {
            "name": "oracle_max_age",
            "type": "i64"
          },
          {
            "name": "withdrawal_redemption_request_cutoff_ts",
            "type": "i64"
          },
          {
            "name": "withdrawal_redemption_unlock_current_cycle_ts",
            "type": "i64"
          },
          {
            "name": "withdrawal_redemption_unlock_next_cycle_ts",
            "type": "i64"
          },
          {
            "name": "referrer_enabled",
            "type": "bool"
          },
          {
            "name": "referrer_min_deposit_amount",
            "type": "u64"
          },
          {
            "name": "referral_tiers",
            "type": {
              "array": [
                {
                  "defined": {
                    "name": "ReferralTier"
                  }
                },
                5
              ]
            }
          },
          {
            "name": "tier_count",
            "type": "u8"
          },
          {
            "name": "padding",
            "type": {
              "array": [
                "u8",
                117
              ]
            }
          }
        ]
      }
    },
    {
      "name": "BundleCreatorAccount",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "allowed",
            "type": "bool"
          },
          {
            "name": "padding",
            "type": {
              "array": [
                "u8",
                64
              ]
            }
          }
        ]
      }
    },
    {
      "name": "BundleCreatorAccountChanged",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "creator",
            "type": "pubkey"
          },
          {
            "name": "allowed",
            "type": "bool"
          }
        ]
      }
    },
    {
      "name": "BundleDepositorInitialized",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "bundle_depositor",
            "type": "pubkey"
          }
        ]
      }
    },
    {
      "name": "BundleMasterAccount",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "admin",
            "type": "pubkey"
          },
          {
            "name": "padding",
            "type": {
              "array": [
                "u8",
                96
              ]
            }
          }
        ]
      }
    },
    {
      "name": "BundleMasterAccountInitialized",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "admin",
            "type": "pubkey"
          }
        ]
      }
    },
    {
      "name": "BundleMasterAdminChanged",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "new_admin",
            "type": "pubkey"
          }
        ]
      }
    },
    {
      "name": "BundleSwitchCompleted",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "user",
            "type": "pubkey"
          },
          {
            "name": "source_bundle",
            "type": "pubkey"
          },
          {
            "name": "target_bundle",
            "type": "pubkey"
          },
          {
            "name": "shares_redeemed",
            "type": "u128"
          },
          {
            "name": "gross_redemption",
            "type": "u64"
          },
          {
            "name": "net_to_destination",
            "type": "u64"
          },
          {
            "name": "net_credited_to_destination",
            "type": "u64"
          },
          {
            "name": "withdrawal_fee_a",
            "type": "u64"
          },
          {
            "name": "deposit_fee_b",
            "type": "u64"
          },
          {
            "name": "share_price",
            "type": "u128"
          },
          {
            "name": "user_shares_before",
            "type": "u128"
          },
          {
            "name": "user_shares_after",
            "type": "u128"
          },
          {
            "name": "total_shares_before",
            "type": "u128"
          },
          {
            "name": "total_shares_after",
            "type": "u128"
          },
          {
            "name": "timestamp",
            "type": "i64"
          },
          {
            "name": "source_referred_net_deposits_after",
            "type": {
              "option": "i128"
            }
          }
        ]
      }
    },
    {
      "name": "BundleSwitchFallbackToWallet",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "user",
            "type": "pubkey"
          },
          {
            "name": "source_bundle",
            "type": "pubkey"
          },
          {
            "name": "target_bundle",
            "type": "pubkey"
          },
          {
            "name": "shares_redeemed",
            "type": "u128"
          },
          {
            "name": "gross_redemption",
            "type": "u64"
          },
          {
            "name": "net_to_wallet",
            "type": "u64"
          },
          {
            "name": "withdrawal_fee_a",
            "type": "u64"
          },
          {
            "name": "reason",
            "type": "u8"
          },
          {
            "name": "timestamp",
            "type": "i64"
          },
          {
            "name": "source_referred_net_deposits_after",
            "type": {
              "option": "i128"
            }
          }
        ]
      }
    },
    {
      "name": "BundleSwitchRequested",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "user",
            "type": "pubkey"
          },
          {
            "name": "source_bundle",
            "type": "pubkey"
          },
          {
            "name": "target_bundle",
            "type": "pubkey"
          },
          {
            "name": "shares_amount",
            "type": "u128"
          },
          {
            "name": "estimated_gross_redemption",
            "type": "u64"
          },
          {
            "name": "estimated_net_to_destination",
            "type": "u64"
          },
          {
            "name": "estimated_destination_deposit_fee",
            "type": "u64"
          },
          {
            "name": "estimated_destination_pending_deposit",
            "type": "u64"
          },
          {
            "name": "cooldown_end_timestamp",
            "type": "i64"
          },
          {
            "name": "timestamp",
            "type": "i64"
          }
        ]
      }
    },
    {
      "name": "BundleTempData",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "cumulative_pending_deposits",
            "type": "u64"
          },
          {
            "name": "pending_deposits_counter",
            "type": "u64"
          },
          {
            "name": "pending_withdrawals_counter",
            "type": "u64"
          },
          {
            "name": "pending_locked_withdrawals_counter",
            "type": "u64"
          },
          {
            "name": "last_total_shares_minted",
            "type": "u128"
          },
          {
            "name": "last_netting_timestamp",
            "type": "i64"
          },
          {
            "name": "is_netting_done",
            "type": "bool"
          },
          {
            "name": "distribution_base_amount",
            "type": "u64"
          },
          {
            "name": "is_distribution_started",
            "type": "bool"
          },
          {
            "name": "paused_deposits_withdrawals",
            "type": "bool"
          },
          {
            "name": "left_to_distribute",
            "type": "u64"
          },
          {
            "name": "allocated_shares",
            "type": "u128"
          },
          {
            "name": "padding",
            "type": {
              "array": [
                "u8",
                168
              ]
            }
          }
        ]
      }
    },
    {
      "name": "ChangedCoreParams",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "treasury",
            "type": "pubkey"
          },
          {
            "name": "deposit_fee",
            "type": "u32"
          },
          {
            "name": "withdrawal_fee",
            "type": "u32"
          },
          {
            "name": "performance_fee",
            "type": "u32"
          },
          {
            "name": "management_fee_bps",
            "type": "u32"
          }
        ]
      }
    },
    {
      "name": "ChargedFeesToUser",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "total_fee_shares",
            "type": "u128"
          },
          {
            "name": "total_fee_value",
            "type": "u64"
          },
          {
            "name": "management_fee_shares",
            "type": "u128"
          },
          {
            "name": "performance_fee_shares",
            "type": "u128"
          },
          {
            "name": "share_price",
            "type": "u128"
          },
          {
            "name": "bundle_account_key",
            "type": "pubkey"
          },
          {
            "name": "user",
            "type": "pubkey"
          },
          {
            "name": "user_shares_after",
            "type": "u128"
          },
          {
            "name": "manager_pfee_shares_after",
            "type": "u128"
          },
          {
            "name": "manager_mfee_shares_after",
            "type": "u128"
          },
          {
            "name": "referral_pfee_bps",
            "type": "u32"
          },
          {
            "name": "referral_mfee_bps",
            "type": "u32"
          },
          {
            "name": "referral_tier_index",
            "docs": [
              "None when no bundle tier supplies an unmasked rate."
            ],
            "type": {
              "option": "u8"
            }
          }
        ]
      }
    },
    {
      "name": "DelaysSet",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "withdrawal_delay",
            "type": "u64"
          },
          {
            "name": "withdrawal_t_min",
            "type": "i64"
          },
          {
            "name": "withdrawal_t_max",
            "type": "i64"
          },
          {
            "name": "withdrawal_curve",
            "type": "f32"
          }
        ]
      }
    },
    {
      "name": "DepositRequested",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "user",
            "type": "pubkey"
          },
          {
            "name": "amount",
            "type": "u64"
          },
          {
            "name": "timestamp",
            "type": "i64"
          },
          {
            "name": "bundle_account_key",
            "type": "pubkey"
          },
          {
            "name": "topping_up",
            "type": "bool"
          },
          {
            "name": "gross_amount",
            "type": "u64"
          },
          {
            "name": "fee_amount",
            "type": "u64"
          },
          {
            "name": "net_amount",
            "type": "u64"
          },
          {
            "name": "asset_mint",
            "type": "pubkey"
          }
        ]
      }
    },
    {
      "name": "DepositedToDriftVault",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "amount",
            "type": "u64"
          },
          {
            "name": "from",
            "type": "pubkey"
          },
          {
            "name": "to",
            "type": "pubkey"
          },
          {
            "name": "timestamp",
            "type": "i64"
          }
        ]
      }
    },
    {
      "name": "DistributedToReceivers",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "amount",
            "type": "u64"
          },
          {
            "name": "from",
            "type": "pubkey"
          },
          {
            "name": "receiver",
            "type": "pubkey"
          },
          {
            "name": "timestamp",
            "type": "i64"
          }
        ]
      }
    },
    {
      "name": "DistributionEnded",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "amount",
            "type": "u64"
          },
          {
            "name": "timestamp",
            "type": "i64"
          }
        ]
      }
    },
    {
      "name": "DistributionStarted",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "amount",
            "type": "u64"
          },
          {
            "name": "timestamp",
            "type": "i64"
          }
        ]
      }
    },
    {
      "name": "DustSharesBurned",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "amount",
            "type": "u128"
          },
          {
            "name": "timestamp",
            "type": "i64"
          },
          {
            "name": "bundle_account_key",
            "type": "pubkey"
          }
        ]
      }
    },
    {
      "name": "InitializedNewVaultDepositor",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "vault",
            "type": "pubkey"
          },
          {
            "name": "vault_depositor",
            "type": "pubkey"
          },
          {
            "name": "keeper",
            "type": "pubkey"
          }
        ]
      }
    },
    {
      "name": "InitializedReceivers",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "manager",
            "type": "pubkey"
          }
        ]
      }
    },
    {
      "name": "InitializedVault",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "manager",
            "type": "pubkey"
          }
        ]
      }
    },
    {
      "name": "ManagerWithdrawal",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "manager_shares",
            "type": "u128"
          },
          {
            "name": "redemption_amount",
            "type": "u64"
          },
          {
            "name": "bundle_account_key",
            "type": "pubkey"
          },
          {
            "name": "total_shares_after",
            "type": "u128"
          },
          {
            "name": "manager_pfee_shares_after",
            "type": "u128"
          },
          {
            "name": "manager_mfee_shares_after",
            "type": "u128"
          }
        ]
      }
    },
    {
      "name": "ManagerWithdrawalWithSplit",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "manager_pfee_shares",
            "type": "u128"
          },
          {
            "name": "manager_mfee_shares",
            "type": "u128"
          },
          {
            "name": "partner_pfee_shares",
            "type": "u128"
          },
          {
            "name": "partner_mfee_shares",
            "type": "u128"
          },
          {
            "name": "manager_redemption_amount",
            "type": "u64"
          },
          {
            "name": "partner_redemption_amount",
            "type": "u64"
          },
          {
            "name": "bundle_account_key",
            "type": "pubkey"
          },
          {
            "name": "total_shares_after",
            "type": "u128"
          },
          {
            "name": "manager_pfee_shares_after",
            "type": "u128"
          },
          {
            "name": "manager_mfee_shares_after",
            "type": "u128"
          }
        ]
      }
    },
    {
      "name": "MaxDepositAmountSet",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "max_deposit_amount",
            "type": "u64"
          }
        ]
      }
    },
    {
      "name": "MinDepositAmountSet",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "min_deposit_amount",
            "type": "u64"
          },
          {
            "name": "bundle_account_key",
            "type": "pubkey"
          }
        ]
      }
    },
    {
      "name": "NettingCompleted",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "timestamp",
            "type": "i64"
          },
          {
            "name": "bundle_account_key",
            "type": "pubkey"
          }
        ]
      }
    },
    {
      "name": "NewKeeperSet",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "keeper",
            "type": "pubkey"
          }
        ]
      }
    },
    {
      "name": "NewManagerSet",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "manager",
            "type": "pubkey"
          }
        ]
      }
    },
    {
      "name": "OracleBufferSet",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "oracle_buffer",
            "type": "u64"
          }
        ]
      }
    },
    {
      "name": "OracleData",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "average_external_equity",
            "type": "u64"
          },
          {
            "name": "last_update_time",
            "type": "i64"
          },
          {
            "name": "padding",
            "type": {
              "array": [
                "u8",
                64
              ]
            }
          }
        ]
      }
    },
    {
      "name": "OracleMaxAgeSet",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "oracle_max_age",
            "type": "i64"
          }
        ]
      }
    },
    {
      "name": "OracleUpdateTimeLimitSet",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "oracle_update_time_limit",
            "type": "i64"
          }
        ]
      }
    },
    {
      "name": "OracleUpdated",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "average_external_equity",
            "type": "u64"
          },
          {
            "name": "bundle_account_key",
            "type": "pubkey"
          },
          {
            "name": "total_shares",
            "type": "u128"
          },
          {
            "name": "bundle_underlying_balance",
            "type": "u64"
          }
        ]
      }
    },
    {
      "name": "PausedDepositsWithdrawals",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "paused",
            "type": "bool"
          },
          {
            "name": "bundle_account_key",
            "type": "pubkey"
          }
        ]
      }
    },
    {
      "name": "Redeemed",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "from",
            "type": "pubkey"
          },
          {
            "name": "to",
            "type": "pubkey"
          },
          {
            "name": "net_amount",
            "type": "u64"
          },
          {
            "name": "fee_amount",
            "type": "u64"
          },
          {
            "name": "timestamp",
            "type": "i64"
          },
          {
            "name": "bundle_account_key",
            "type": "pubkey"
          },
          {
            "name": "gross_amount",
            "type": "u64"
          },
          {
            "name": "share_price",
            "type": "u128"
          },
          {
            "name": "user_shares_before",
            "type": "u128"
          },
          {
            "name": "user_shares_after",
            "type": "u128"
          },
          {
            "name": "total_shares_before",
            "type": "u128"
          },
          {
            "name": "total_shares_after",
            "type": "u128"
          },
          {
            "name": "referred_net_deposits_after",
            "type": {
              "option": "i128"
            }
          }
        ]
      }
    },
    {
      "name": "ReferralFeesAccrued",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "user",
            "type": "pubkey"
          },
          {
            "name": "referrer",
            "type": "pubkey"
          },
          {
            "name": "bundle_account_key",
            "type": "pubkey"
          },
          {
            "name": "referrer_pfee_shares",
            "type": "u128"
          },
          {
            "name": "referrer_mfee_shares",
            "type": "u128"
          },
          {
            "name": "accrued_pfee_shares_after",
            "type": "u128"
          },
          {
            "name": "accrued_mfee_shares_after",
            "type": "u128"
          },
          {
            "name": "referral_pfee_bps",
            "type": "u32"
          },
          {
            "name": "referral_mfee_bps",
            "type": "u32"
          },
          {
            "name": "referral_tier_index",
            "docs": [
              "None when no bundle tier supplies an unmasked rate."
            ],
            "type": {
              "option": "u8"
            }
          }
        ]
      }
    },
    {
      "name": "ReferralTier",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "threshold",
            "type": "u64"
          },
          {
            "name": "pfee_bps",
            "type": "u32"
          },
          {
            "name": "mfee_bps",
            "type": "u32"
          }
        ]
      }
    },
    {
      "name": "ReferralTierConfigSet",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "manager",
            "type": "pubkey"
          },
          {
            "name": "bundle_account_key",
            "type": "pubkey"
          },
          {
            "name": "tier_count",
            "type": "u8"
          },
          {
            "name": "referral_tiers",
            "type": {
              "vec": {
                "defined": {
                  "name": "ReferralTier"
                }
              }
            }
          },
          {
            "name": "timestamp",
            "type": "i64"
          }
        ]
      }
    },
    {
      "name": "ReferrerAccount",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "bundle",
            "type": "pubkey"
          },
          {
            "name": "referrer",
            "type": "pubkey"
          },
          {
            "name": "accrued_pfee_shares",
            "type": "u128"
          },
          {
            "name": "accrued_mfee_shares",
            "type": "u128"
          },
          {
            "name": "active",
            "type": "bool"
          },
          {
            "name": "bump",
            "type": "u8"
          },
          {
            "name": "custom_pfee_bps",
            "type": "u32"
          },
          {
            "name": "custom_mfee_bps",
            "type": "u32"
          },
          {
            "name": "rate_override_flags",
            "type": "u8"
          },
          {
            "name": "pending_withdraw_shares",
            "type": "u128"
          },
          {
            "name": "estimated_pending_withdrawal_value",
            "type": "u64"
          },
          {
            "name": "withdrawal_available_timestamp",
            "type": "i64"
          },
          {
            "name": "last_withdrawal_process_timestamp",
            "type": "i64"
          },
          {
            "name": "referred_net_deposits",
            "type": "i128"
          },
          {
            "name": "padding",
            "type": {
              "array": [
                "u8",
                48
              ]
            }
          }
        ]
      }
    },
    {
      "name": "ReferrerActiveSet",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "manager",
            "type": "pubkey"
          },
          {
            "name": "referrer",
            "type": "pubkey"
          },
          {
            "name": "bundle_account_key",
            "type": "pubkey"
          },
          {
            "name": "active",
            "type": "bool"
          },
          {
            "name": "timestamp",
            "type": "i64"
          }
        ]
      }
    },
    {
      "name": "ReferrerConfigSet",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "manager",
            "type": "pubkey"
          },
          {
            "name": "bundle_account_key",
            "type": "pubkey"
          },
          {
            "name": "referrer_enabled",
            "type": "bool"
          },
          {
            "name": "referrer_min_deposit_amount",
            "type": "u64"
          },
          {
            "name": "timestamp",
            "type": "i64"
          }
        ]
      }
    },
    {
      "name": "ReferrerRateOverrideSet",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "manager",
            "type": "pubkey"
          },
          {
            "name": "referrer",
            "type": "pubkey"
          },
          {
            "name": "bundle_account_key",
            "type": "pubkey"
          },
          {
            "name": "override_mask",
            "type": "u8"
          },
          {
            "name": "previous_flags",
            "type": "u8"
          },
          {
            "name": "new_flags",
            "type": "u8"
          },
          {
            "name": "custom_pfee_bps",
            "type": "u32"
          },
          {
            "name": "custom_mfee_bps",
            "type": "u32"
          },
          {
            "name": "timestamp",
            "type": "i64"
          }
        ]
      }
    },
    {
      "name": "ReferrerRegistered",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "referrer",
            "type": "pubkey"
          },
          {
            "name": "bundle_account_key",
            "type": "pubkey"
          },
          {
            "name": "timestamp",
            "type": "i64"
          }
        ]
      }
    },
    {
      "name": "ReferrerWithdrawalProcessed",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "referrer",
            "type": "pubkey"
          },
          {
            "name": "bundle_account_key",
            "type": "pubkey"
          },
          {
            "name": "shares_redeemed",
            "type": "u128"
          },
          {
            "name": "redemption_amount",
            "type": "u64"
          },
          {
            "name": "timestamp",
            "type": "i64"
          },
          {
            "name": "accrued_pfee_shares_after",
            "type": "u128"
          },
          {
            "name": "accrued_mfee_shares_after",
            "type": "u128"
          }
        ]
      }
    },
    {
      "name": "ReferrerWithdrawalRequested",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "referrer",
            "type": "pubkey"
          },
          {
            "name": "bundle_account_key",
            "type": "pubkey"
          },
          {
            "name": "shares",
            "type": "u128"
          },
          {
            "name": "estimated_pending_withdrawal_value",
            "type": "u64"
          },
          {
            "name": "cooldown_end_timestamp",
            "type": "i64"
          },
          {
            "name": "timestamp",
            "type": "i64"
          }
        ]
      }
    },
    {
      "name": "Refilled",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "from",
            "type": "pubkey"
          },
          {
            "name": "refill_value",
            "type": "u64"
          },
          {
            "name": "timestamp",
            "type": "i64"
          }
        ]
      }
    },
    {
      "name": "RefundedDeposit",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "user",
            "type": "pubkey"
          },
          {
            "name": "amount",
            "type": "u64"
          },
          {
            "name": "timestamp",
            "type": "i64"
          },
          {
            "name": "bundle_account_key",
            "type": "pubkey"
          },
          {
            "name": "referred_net_deposits_after",
            "type": {
              "option": "i128"
            }
          }
        ]
      }
    },
    {
      "name": "RequestedWithdrawalToDriftVault",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "amount",
            "type": "u64"
          },
          {
            "name": "from",
            "type": "pubkey"
          },
          {
            "name": "to",
            "type": "pubkey"
          },
          {
            "name": "timestamp",
            "type": "i64"
          }
        ]
      }
    },
    {
      "name": "Strategy",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "receiver_address",
            "type": "pubkey"
          },
          {
            "name": "allocation_bps",
            "type": "u32"
          },
          {
            "name": "allowed",
            "type": "bool"
          },
          {
            "name": "padding",
            "type": {
              "array": [
                "u8",
                96
              ]
            }
          }
        ]
      }
    },
    {
      "name": "StrategyAdded",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "receiver_address",
            "type": "pubkey"
          },
          {
            "name": "allocation_bps",
            "type": "u32"
          }
        ]
      }
    },
    {
      "name": "StrategyEnabled",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "receiver_address",
            "type": "pubkey"
          }
        ]
      }
    },
    {
      "name": "StrategyRemoved",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "receiver_address",
            "type": "pubkey"
          }
        ]
      }
    },
    {
      "name": "UserBundleAccount",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "owner",
            "type": "pubkey"
          },
          {
            "name": "last_deposit_timestamp",
            "type": "i64"
          },
          {
            "name": "shares",
            "type": "u128"
          },
          {
            "name": "pending_deposit",
            "type": "u64"
          },
          {
            "name": "pending_shares",
            "type": "u128"
          },
          {
            "name": "estimated_pending_withdrawal_value",
            "type": "u64"
          },
          {
            "name": "withdrawal_available_timestamp",
            "type": "i64"
          },
          {
            "name": "last_withdrawal_process_timestamp",
            "type": "i64"
          },
          {
            "name": "last_high_water_mark",
            "type": "u128"
          },
          {
            "name": "hwm_per_share",
            "type": "u128"
          },
          {
            "name": "last_management_fee_timestamp",
            "type": "i64"
          },
          {
            "name": "net_deposits",
            "type": "i128"
          },
          {
            "name": "total_fee_charged",
            "type": "u64"
          },
          {
            "name": "custom_deposit_fee_bps",
            "type": "u32"
          },
          {
            "name": "custom_withdrawal_fee_bps",
            "type": "u32"
          },
          {
            "name": "custom_performance_fee_bps",
            "type": "u32"
          },
          {
            "name": "custom_management_fee_bps",
            "type": "u32"
          },
          {
            "name": "fee_override_flags",
            "type": "u8"
          },
          {
            "name": "custom_withdrawal_delay",
            "type": "u64"
          },
          {
            "name": "custom_withdrawal_t_min",
            "type": "i64"
          },
          {
            "name": "custom_withdrawal_t_max",
            "type": "i64"
          },
          {
            "name": "custom_withdrawal_curve",
            "type": "f32"
          },
          {
            "name": "withdrawal_timing_override_flags",
            "type": "u8"
          },
          {
            "name": "switch_active",
            "type": "bool"
          },
          {
            "name": "switch_target_bundle",
            "type": "pubkey"
          },
          {
            "name": "switch_created_at",
            "type": "i64"
          },
          {
            "name": "referrer",
            "type": "pubkey"
          },
          {
            "name": "padding",
            "type": {
              "array": [
                "u8",
                145
              ]
            }
          }
        ]
      }
    },
    {
      "name": "UserBundleAccountClosed",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "user",
            "type": "pubkey"
          },
          {
            "name": "bundle_account_key",
            "type": "pubkey"
          },
          {
            "name": "user_bundle_account_key",
            "type": "pubkey"
          },
          {
            "name": "referred_net_deposits_after",
            "type": {
              "option": "i128"
            }
          }
        ]
      }
    },
    {
      "name": "UserFeeOverrideCleared",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "manager",
            "type": "pubkey"
          },
          {
            "name": "user",
            "type": "pubkey"
          },
          {
            "name": "bundle_account_key",
            "type": "pubkey"
          },
          {
            "name": "clear_mask",
            "type": "u8"
          },
          {
            "name": "previous_flags",
            "type": "u8"
          },
          {
            "name": "new_flags",
            "type": "u8"
          },
          {
            "name": "timestamp",
            "type": "i64"
          }
        ]
      }
    },
    {
      "name": "UserFeeOverrideSet",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "manager",
            "type": "pubkey"
          },
          {
            "name": "user",
            "type": "pubkey"
          },
          {
            "name": "bundle_account_key",
            "type": "pubkey"
          },
          {
            "name": "override_mask",
            "type": "u8"
          },
          {
            "name": "previous_flags",
            "type": "u8"
          },
          {
            "name": "new_flags",
            "type": "u8"
          },
          {
            "name": "custom_deposit_fee_bps",
            "type": "u32"
          },
          {
            "name": "custom_withdrawal_fee_bps",
            "type": "u32"
          },
          {
            "name": "custom_performance_fee_bps",
            "type": "u32"
          },
          {
            "name": "custom_management_fee_bps",
            "type": "u32"
          },
          {
            "name": "timestamp",
            "type": "i64"
          }
        ]
      }
    },
    {
      "name": "UserReferrerSet",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "user",
            "type": "pubkey"
          },
          {
            "name": "referrer",
            "type": "pubkey"
          },
          {
            "name": "bundle_account_key",
            "type": "pubkey"
          },
          {
            "name": "referral_pfee_bps",
            "type": "u32"
          },
          {
            "name": "referral_mfee_bps",
            "type": "u32"
          },
          {
            "name": "timestamp",
            "type": "i64"
          },
          {
            "name": "referral_tier_index",
            "docs": [
              "None when no bundle tier supplies an unmasked rate."
            ],
            "type": {
              "option": "u8"
            }
          }
        ]
      }
    },
    {
      "name": "UserWithdrawalTimingOverrideCleared",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "manager",
            "type": "pubkey"
          },
          {
            "name": "user",
            "type": "pubkey"
          },
          {
            "name": "bundle_account_key",
            "type": "pubkey"
          },
          {
            "name": "clear_mask",
            "type": "u8"
          },
          {
            "name": "previous_flags",
            "type": "u8"
          },
          {
            "name": "new_flags",
            "type": "u8"
          },
          {
            "name": "timestamp",
            "type": "i64"
          }
        ]
      }
    },
    {
      "name": "UserWithdrawalTimingOverrideSet",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "manager",
            "type": "pubkey"
          },
          {
            "name": "user",
            "type": "pubkey"
          },
          {
            "name": "bundle_account_key",
            "type": "pubkey"
          },
          {
            "name": "override_mask",
            "type": "u8"
          },
          {
            "name": "previous_flags",
            "type": "u8"
          },
          {
            "name": "new_flags",
            "type": "u8"
          },
          {
            "name": "custom_withdrawal_delay",
            "type": "u64"
          },
          {
            "name": "custom_withdrawal_t_min",
            "type": "i64"
          },
          {
            "name": "custom_withdrawal_t_max",
            "type": "i64"
          },
          {
            "name": "custom_withdrawal_curve",
            "type": "f32"
          },
          {
            "name": "timestamp",
            "type": "i64"
          }
        ]
      }
    },
    {
      "name": "VaultNeutralFeeIncrementerSet",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "neutral_fee_incrementer",
            "type": "pubkey"
          }
        ]
      }
    },
    {
      "name": "WithdrawalRedemptionScheduleSet",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "withdrawal_redemption_request_cutoff_ts",
            "type": "i64"
          },
          {
            "name": "withdrawal_redemption_unlock_current_cycle_ts",
            "type": "i64"
          },
          {
            "name": "withdrawal_redemption_unlock_next_cycle_ts",
            "type": "i64"
          }
        ]
      }
    },
    {
      "name": "WithdrawalRequested",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "user",
            "type": "pubkey"
          },
          {
            "name": "amount",
            "type": "u128"
          },
          {
            "name": "timestamp",
            "type": "i64"
          },
          {
            "name": "cooldown_period",
            "type": "i64"
          },
          {
            "name": "estimated_pending_withdrawal_value",
            "type": "u64"
          },
          {
            "name": "bundle_account_key",
            "type": "pubkey"
          },
          {
            "name": "cooldown_end_timestamp",
            "type": "i64"
          },
          {
            "name": "estimated_net_amount",
            "type": "u64"
          }
        ]
      }
    },
    {
      "name": "WithdrawnFromDriftVault",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "amount",
            "type": "u64"
          },
          {
            "name": "from",
            "type": "pubkey"
          },
          {
            "name": "to",
            "type": "pubkey"
          },
          {
            "name": "timestamp",
            "type": "i64"
          }
        ]
      }
    }
  ]
}