{
    "address": "Bn6eixac1QEEVErGBvBjxAd6pgB9e2q4XHvAkinQ5y1B",
    "metadata": {
        "name": "omegax_protocol",
        "version": "0.3.1",
        "spec": "0.1.0",
        "description": "OmegaX health capital markets protocol with reserve domains, health plans, funding lines, and capital classes"
    },
    "instructions": [
        {
            "name": "accept_protocol_governance_authority",
            "discriminator": [202, 235, 28, 119, 167, 24, 81, 85],
            "accounts": [
                {
                    "name": "pending_authority",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                }
            ],
            "args": []
        },
        {
            "name": "adjudicate_claim_case",
            "discriminator": [146, 99, 255, 26, 223, 88, 235, 114],
            "accounts": [
                {
                    "name": "authority",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "health_plan",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [104, 101, 97, 108, 116, 104, 95, 112, 108, 97, 110]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.health_plan_id",
                                "account": "HealthPlan"
                            }
                        ]
                    }
                },
                {
                    "name": "claim_case",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [99, 108, 97, 105, 109, 95, 99, 97, 115, 101]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "account",
                                "path": "claim_case.claim_id",
                                "account": "ClaimCase"
                            }
                        ]
                    }
                },
                {
                    "name": "obligation",
                    "writable": true,
                    "optional": true
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "AdjudicateClaimCaseArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "allocate_capital",
            "discriminator": [146, 129, 60, 205, 88, 225, 60, 183],
            "accounts": [
                {
                    "name": "authority",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "liquidity_pool",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    108, 105, 113, 117, 105, 100, 105, 116, 121, 95, 112, 111,
                                    111, 108
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.reserve_domain",
                                "account": "LiquidityPool"
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.pool_id",
                                "account": "LiquidityPool"
                            }
                        ]
                    }
                },
                {
                    "name": "capital_class",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    99, 97, 112, 105, 116, 97, 108, 95, 99, 108, 97, 115, 115
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool"
                            },
                            {
                                "kind": "account",
                                "path": "capital_class.class_id",
                                "account": "CapitalClass"
                            }
                        ]
                    }
                },
                {
                    "name": "pool_class_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 111, 111, 108, 95, 99, 108, 97, 115, 115, 95, 108, 101,
                                    100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "capital_class"
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.deposit_asset_mint",
                                "account": "LiquidityPool"
                            }
                        ]
                    }
                },
                {
                    "name": "funding_line",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    102, 117, 110, 100, 105, 110, 103, 95, 108, 105, 110, 101
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "allocation_position.health_plan",
                                "account": "AllocationPosition"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.line_id",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "allocation_position",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    97, 108, 108, 111, 99, 97, 116, 105, 111, 110, 95, 112, 111,
                                    115, 105, 116, 105, 111, 110
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "capital_class"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line"
                            }
                        ]
                    }
                },
                {
                    "name": "allocation_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    97, 108, 108, 111, 99, 97, 116, 105, 111, 110, 95, 108, 101,
                                    100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "allocation_position"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.asset_mint",
                                "account": "FundingLine"
                            }
                        ]
                    }
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "AllocateCapitalArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "attach_claim_evidence_ref",
            "discriminator": [52, 246, 203, 87, 244, 143, 132, 131],
            "accounts": [
                {
                    "name": "authority",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "health_plan",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [104, 101, 97, 108, 116, 104, 95, 112, 108, 97, 110]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.health_plan_id",
                                "account": "HealthPlan"
                            }
                        ]
                    }
                },
                {
                    "name": "claim_case",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [99, 108, 97, 105, 109, 95, 99, 97, 115, 101]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "account",
                                "path": "claim_case.claim_id",
                                "account": "ClaimCase"
                            }
                        ]
                    }
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "AttachClaimEvidenceRefArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "attest_claim_case",
            "discriminator": [111, 40, 46, 51, 76, 157, 214, 136],
            "accounts": [
                {
                    "name": "oracle",
                    "writable": true,
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "health_plan",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [104, 101, 97, 108, 116, 104, 95, 112, 108, 97, 110]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.health_plan_id",
                                "account": "HealthPlan"
                            }
                        ]
                    }
                },
                {
                    "name": "oracle_profile",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    111, 114, 97, 99, 108, 101, 95, 112, 114, 111, 102, 105, 108,
                                    101
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "oracle_profile.oracle",
                                "account": "OracleProfile"
                            }
                        ]
                    }
                },
                {
                    "name": "claim_case",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [99, 108, 97, 105, 109, 95, 99, 97, 115, 101]
                            },
                            {
                                "kind": "account",
                                "path": "claim_case.health_plan",
                                "account": "ClaimCase"
                            },
                            {
                                "kind": "account",
                                "path": "claim_case.claim_id",
                                "account": "ClaimCase"
                            }
                        ]
                    }
                },
                {
                    "name": "funding_line",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    102, 117, 110, 100, 105, 110, 103, 95, 108, 105, 110, 101
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.line_id",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "outcome_schema",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    111, 117, 116, 99, 111, 109, 101, 95, 115, 99, 104, 101, 109,
                                    97
                                ]
                            },
                            {
                                "kind": "arg",
                                "path": "args.schema_key_hash"
                            }
                        ]
                    }
                },
                {
                    "name": "liquidity_pool",
                    "optional": true
                },
                {
                    "name": "capital_class",
                    "optional": true
                },
                {
                    "name": "allocation_position",
                    "optional": true
                },
                {
                    "name": "pool_oracle_approval",
                    "optional": true
                },
                {
                    "name": "pool_oracle_permission_set",
                    "optional": true
                },
                {
                    "name": "pool_oracle_policy",
                    "optional": true
                },
                {
                    "name": "claim_attestation",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    99, 108, 97, 105, 109, 95, 97, 116, 116, 101, 115, 116, 97,
                                    116, 105, 111, 110
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "claim_case"
                            },
                            {
                                "kind": "account",
                                "path": "oracle"
                            }
                        ]
                    }
                },
                {
                    "name": "system_program",
                    "address": "11111111111111111111111111111111"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "AttestClaimCaseArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "authorize_claim_recipient",
            "discriminator": [112, 97, 129, 42, 125, 165, 226, 163],
            "accounts": [
                {
                    "name": "authority",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "member_position",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    109, 101, 109, 98, 101, 114, 95, 112, 111, 115, 105, 116, 105,
                                    111, 110
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "member_position.health_plan",
                                "account": "MemberPosition"
                            },
                            {
                                "kind": "account",
                                "path": "member_position.wallet",
                                "account": "MemberPosition"
                            },
                            {
                                "kind": "account",
                                "path": "member_position.policy_series",
                                "account": "MemberPosition"
                            }
                        ]
                    }
                },
                {
                    "name": "claim_case",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [99, 108, 97, 105, 109, 95, 99, 97, 115, 101]
                            },
                            {
                                "kind": "account",
                                "path": "claim_case.health_plan",
                                "account": "ClaimCase"
                            },
                            {
                                "kind": "account",
                                "path": "claim_case.claim_id",
                                "account": "ClaimCase"
                            }
                        ]
                    }
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "AuthorizeClaimRecipientArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "backfill_schema_dependency_ledger",
            "discriminator": [109, 109, 247, 151, 229, 78, 52, 167],
            "accounts": [
                {
                    "name": "governance_authority",
                    "writable": true,
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "outcome_schema",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    111, 117, 116, 99, 111, 109, 101, 95, 115, 99, 104, 101, 109,
                                    97
                                ]
                            },
                            {
                                "kind": "arg",
                                "path": "args.schema_key_hash"
                            }
                        ]
                    }
                },
                {
                    "name": "schema_dependency_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    115, 99, 104, 101, 109, 97, 95, 100, 101, 112, 101, 110, 100,
                                    101, 110, 99, 121, 95, 108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "arg",
                                "path": "args.schema_key_hash"
                            }
                        ]
                    }
                },
                {
                    "name": "system_program",
                    "address": "11111111111111111111111111111111"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "BackfillSchemaDependencyLedgerArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "cancel_protocol_governance_authority_transfer",
            "discriminator": [113, 25, 246, 12, 38, 35, 223, 114],
            "accounts": [
                {
                    "name": "authority",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                }
            ],
            "args": []
        },
        {
            "name": "claim_oracle",
            "discriminator": [1, 252, 166, 132, 45, 24, 23, 233],
            "accounts": [
                {
                    "name": "oracle",
                    "signer": true
                },
                {
                    "name": "oracle_profile",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    111, 114, 97, 99, 108, 101, 95, 112, 114, 111, 102, 105, 108,
                                    101
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "oracle_profile.oracle",
                                "account": "OracleProfile"
                            }
                        ]
                    }
                }
            ],
            "args": []
        },
        {
            "name": "close_outcome_schema",
            "discriminator": [196, 81, 8, 61, 95, 145, 225, 2],
            "accounts": [
                {
                    "name": "governance_authority",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "outcome_schema",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    111, 117, 116, 99, 111, 109, 101, 95, 115, 99, 104, 101, 109,
                                    97
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "outcome_schema.schema_key_hash",
                                "account": "OutcomeSchema"
                            }
                        ]
                    }
                },
                {
                    "name": "schema_dependency_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    115, 99, 104, 101, 109, 97, 95, 100, 101, 112, 101, 110, 100,
                                    101, 110, 99, 121, 95, 108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "outcome_schema.schema_key_hash",
                                "account": "OutcomeSchema"
                            }
                        ]
                    }
                },
                {
                    "name": "recipient_system_account",
                    "writable": true
                }
            ],
            "args": []
        },
        {
            "name": "configure_reserve_asset_rail",
            "discriminator": [78, 48, 108, 190, 181, 203, 194, 176],
            "accounts": [
                {
                    "name": "authority",
                    "writable": true,
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "reserve_domain",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    114, 101, 115, 101, 114, 118, 101, 95, 100, 111, 109, 97, 105,
                                    110
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "reserve_domain.domain_id",
                                "account": "ReserveDomain"
                            }
                        ]
                    }
                },
                {
                    "name": "reserve_asset_rail",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    114, 101, 115, 101, 114, 118, 101, 95, 97, 115, 115, 101, 116,
                                    95, 114, 97, 105, 108
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "reserve_domain"
                            },
                            {
                                "kind": "arg",
                                "path": "args.asset_mint"
                            }
                        ]
                    }
                },
                {
                    "name": "system_program",
                    "address": "11111111111111111111111111111111"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "ConfigureReserveAssetRailArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "create_allocation_position",
            "discriminator": [165, 80, 76, 13, 12, 202, 112, 31],
            "accounts": [
                {
                    "name": "authority",
                    "writable": true,
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "liquidity_pool",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    108, 105, 113, 117, 105, 100, 105, 116, 121, 95, 112, 111,
                                    111, 108
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.reserve_domain",
                                "account": "LiquidityPool"
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.pool_id",
                                "account": "LiquidityPool"
                            }
                        ]
                    }
                },
                {
                    "name": "capital_class",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    99, 97, 112, 105, 116, 97, 108, 95, 99, 108, 97, 115, 115
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool"
                            },
                            {
                                "kind": "account",
                                "path": "capital_class.class_id",
                                "account": "CapitalClass"
                            }
                        ]
                    }
                },
                {
                    "name": "health_plan",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [104, 101, 97, 108, 116, 104, 95, 112, 108, 97, 110]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.health_plan_id",
                                "account": "HealthPlan"
                            }
                        ]
                    }
                },
                {
                    "name": "funding_line",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    102, 117, 110, 100, 105, 110, 103, 95, 108, 105, 110, 101
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.line_id",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "allocation_position",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    97, 108, 108, 111, 99, 97, 116, 105, 111, 110, 95, 112, 111,
                                    115, 105, 116, 105, 111, 110
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "capital_class"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line"
                            }
                        ]
                    }
                },
                {
                    "name": "allocation_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    97, 108, 108, 111, 99, 97, 116, 105, 111, 110, 95, 108, 101,
                                    100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "allocation_position"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.asset_mint",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "system_program",
                    "address": "11111111111111111111111111111111"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "CreateAllocationPositionArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "create_capital_class",
            "discriminator": [0, 161, 244, 112, 151, 137, 35, 221],
            "accounts": [
                {
                    "name": "authority",
                    "writable": true,
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "liquidity_pool",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    108, 105, 113, 117, 105, 100, 105, 116, 121, 95, 112, 111,
                                    111, 108
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.reserve_domain",
                                "account": "LiquidityPool"
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.pool_id",
                                "account": "LiquidityPool"
                            }
                        ]
                    }
                },
                {
                    "name": "capital_class",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    99, 97, 112, 105, 116, 97, 108, 95, 99, 108, 97, 115, 115
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool"
                            },
                            {
                                "kind": "arg",
                                "path": "args.class_id"
                            }
                        ]
                    }
                },
                {
                    "name": "pool_class_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 111, 111, 108, 95, 99, 108, 97, 115, 115, 95, 108, 101,
                                    100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "capital_class"
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.deposit_asset_mint",
                                "account": "LiquidityPool"
                            }
                        ]
                    }
                },
                {
                    "name": "system_program",
                    "address": "11111111111111111111111111111111"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "CreateCapitalClassArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "create_domain_asset_vault",
            "discriminator": [31, 13, 112, 128, 23, 164, 26, 108],
            "accounts": [
                {
                    "name": "authority",
                    "writable": true,
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "reserve_domain",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    114, 101, 115, 101, 114, 118, 101, 95, 100, 111, 109, 97, 105,
                                    110
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "reserve_domain.domain_id",
                                "account": "ReserveDomain"
                            }
                        ]
                    }
                },
                {
                    "name": "domain_asset_vault",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    118, 97, 117, 108, 116
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "reserve_domain"
                            },
                            {
                                "kind": "arg",
                                "path": "args.asset_mint"
                            }
                        ]
                    }
                },
                {
                    "name": "domain_asset_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "reserve_domain"
                            },
                            {
                                "kind": "arg",
                                "path": "args.asset_mint"
                            }
                        ]
                    }
                },
                {
                    "name": "asset_mint"
                },
                {
                    "name": "vault_token_account",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    118, 97, 117, 108, 116, 95, 116, 111, 107, 101, 110
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "reserve_domain"
                            },
                            {
                                "kind": "arg",
                                "path": "args.asset_mint"
                            }
                        ]
                    }
                },
                {
                    "name": "token_program"
                },
                {
                    "name": "system_program",
                    "address": "11111111111111111111111111111111"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "CreateDomainAssetVaultArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "create_health_plan",
            "discriminator": [136, 7, 197, 134, 241, 206, 83, 171],
            "accounts": [
                {
                    "name": "plan_admin",
                    "writable": true,
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "reserve_domain",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    114, 101, 115, 101, 114, 118, 101, 95, 100, 111, 109, 97, 105,
                                    110
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "reserve_domain.domain_id",
                                "account": "ReserveDomain"
                            }
                        ]
                    }
                },
                {
                    "name": "health_plan",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [104, 101, 97, 108, 116, 104, 95, 112, 108, 97, 110]
                            },
                            {
                                "kind": "account",
                                "path": "reserve_domain"
                            },
                            {
                                "kind": "arg",
                                "path": "args.plan_id"
                            }
                        ]
                    }
                },
                {
                    "name": "system_program",
                    "address": "11111111111111111111111111111111"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "CreateHealthPlanArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "create_liquidity_pool",
            "discriminator": [175, 75, 181, 165, 224, 254, 6, 131],
            "accounts": [
                {
                    "name": "authority",
                    "writable": true,
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "reserve_domain",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    114, 101, 115, 101, 114, 118, 101, 95, 100, 111, 109, 97, 105,
                                    110
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "reserve_domain.domain_id",
                                "account": "ReserveDomain"
                            }
                        ]
                    }
                },
                {
                    "name": "domain_asset_vault",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    118, 97, 117, 108, 116
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "reserve_domain"
                            },
                            {
                                "kind": "arg",
                                "path": "args.deposit_asset_mint"
                            }
                        ]
                    }
                },
                {
                    "name": "liquidity_pool",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    108, 105, 113, 117, 105, 100, 105, 116, 121, 95, 112, 111,
                                    111, 108
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "reserve_domain"
                            },
                            {
                                "kind": "arg",
                                "path": "args.pool_id"
                            }
                        ]
                    }
                },
                {
                    "name": "system_program",
                    "address": "11111111111111111111111111111111"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "CreateLiquidityPoolArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "create_obligation",
            "discriminator": [216, 144, 172, 223, 19, 106, 220, 54],
            "accounts": [
                {
                    "name": "authority",
                    "writable": true,
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "health_plan",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [104, 101, 97, 108, 116, 104, 95, 112, 108, 97, 110]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.health_plan_id",
                                "account": "HealthPlan"
                            }
                        ]
                    }
                },
                {
                    "name": "domain_asset_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "arg",
                                "path": "args.asset_mint"
                            }
                        ]
                    }
                },
                {
                    "name": "funding_line",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    102, 117, 110, 100, 105, 110, 103, 95, 108, 105, 110, 101
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.line_id",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "funding_line_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    102, 117, 110, 100, 105, 110, 103, 95, 108, 105, 110, 101, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "funding_line"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.asset_mint",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "plan_reserve_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 108, 97, 110, 95, 114, 101, 115, 101, 114, 118, 101, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "arg",
                                "path": "args.asset_mint"
                            }
                        ]
                    }
                },
                {
                    "name": "series_reserve_ledger",
                    "writable": true,
                    "optional": true
                },
                {
                    "name": "liquidity_pool",
                    "optional": true
                },
                {
                    "name": "capital_class",
                    "optional": true
                },
                {
                    "name": "pool_class_ledger",
                    "writable": true,
                    "optional": true
                },
                {
                    "name": "allocation_position",
                    "optional": true
                },
                {
                    "name": "allocation_ledger",
                    "writable": true,
                    "optional": true
                },
                {
                    "name": "obligation",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [111, 98, 108, 105, 103, 97, 116, 105, 111, 110]
                            },
                            {
                                "kind": "account",
                                "path": "funding_line"
                            },
                            {
                                "kind": "arg",
                                "path": "args.obligation_id"
                            }
                        ]
                    }
                },
                {
                    "name": "system_program",
                    "address": "11111111111111111111111111111111"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "CreateObligationArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "create_policy_series",
            "discriminator": [70, 162, 231, 218, 211, 136, 110, 176],
            "accounts": [
                {
                    "name": "authority",
                    "writable": true,
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "health_plan",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [104, 101, 97, 108, 116, 104, 95, 112, 108, 97, 110]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.health_plan_id",
                                "account": "HealthPlan"
                            }
                        ]
                    }
                },
                {
                    "name": "policy_series",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 111, 108, 105, 99, 121, 95, 115, 101, 114, 105, 101, 115
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "arg",
                                "path": "args.series_id"
                            }
                        ]
                    }
                },
                {
                    "name": "series_reserve_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    115, 101, 114, 105, 101, 115, 95, 114, 101, 115, 101, 114,
                                    118, 101, 95, 108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "policy_series"
                            },
                            {
                                "kind": "arg",
                                "path": "args.asset_mint"
                            }
                        ]
                    }
                },
                {
                    "name": "system_program",
                    "address": "11111111111111111111111111111111"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "CreatePolicySeriesArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "create_reserve_domain",
            "discriminator": [222, 2, 8, 218, 45, 157, 193, 246],
            "accounts": [
                {
                    "name": "authority",
                    "writable": true,
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "reserve_domain",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    114, 101, 115, 101, 114, 118, 101, 95, 100, 111, 109, 97, 105,
                                    110
                                ]
                            },
                            {
                                "kind": "arg",
                                "path": "args.domain_id"
                            }
                        ]
                    }
                },
                {
                    "name": "system_program",
                    "address": "11111111111111111111111111111111"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "CreateReserveDomainArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "deallocate_capital",
            "discriminator": [10, 97, 97, 189, 60, 170, 102, 29],
            "accounts": [
                {
                    "name": "authority",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "liquidity_pool",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    108, 105, 113, 117, 105, 100, 105, 116, 121, 95, 112, 111,
                                    111, 108
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.reserve_domain",
                                "account": "LiquidityPool"
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.pool_id",
                                "account": "LiquidityPool"
                            }
                        ]
                    }
                },
                {
                    "name": "capital_class",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    99, 97, 112, 105, 116, 97, 108, 95, 99, 108, 97, 115, 115
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool"
                            },
                            {
                                "kind": "account",
                                "path": "capital_class.class_id",
                                "account": "CapitalClass"
                            }
                        ]
                    }
                },
                {
                    "name": "pool_class_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 111, 111, 108, 95, 99, 108, 97, 115, 115, 95, 108, 101,
                                    100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "capital_class"
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.deposit_asset_mint",
                                "account": "LiquidityPool"
                            }
                        ]
                    }
                },
                {
                    "name": "funding_line",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    102, 117, 110, 100, 105, 110, 103, 95, 108, 105, 110, 101
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "allocation_position.health_plan",
                                "account": "AllocationPosition"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.line_id",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "allocation_position",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    97, 108, 108, 111, 99, 97, 116, 105, 111, 110, 95, 112, 111,
                                    115, 105, 116, 105, 111, 110
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "capital_class"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line"
                            }
                        ]
                    }
                },
                {
                    "name": "allocation_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    97, 108, 108, 111, 99, 97, 116, 105, 111, 110, 95, 108, 101,
                                    100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "allocation_position"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.asset_mint",
                                "account": "FundingLine"
                            }
                        ]
                    }
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "DeallocateCapitalArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "deposit_into_capital_class",
            "discriminator": [40, 215, 33, 115, 185, 101, 196, 167],
            "accounts": [
                {
                    "name": "owner",
                    "writable": true,
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "domain_asset_vault",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    118, 97, 117, 108, 116
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.reserve_domain",
                                "account": "LiquidityPool"
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.deposit_asset_mint",
                                "account": "LiquidityPool"
                            }
                        ]
                    }
                },
                {
                    "name": "domain_asset_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.reserve_domain",
                                "account": "LiquidityPool"
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.deposit_asset_mint",
                                "account": "LiquidityPool"
                            }
                        ]
                    }
                },
                {
                    "name": "liquidity_pool",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    108, 105, 113, 117, 105, 100, 105, 116, 121, 95, 112, 111,
                                    111, 108
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.reserve_domain",
                                "account": "LiquidityPool"
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.pool_id",
                                "account": "LiquidityPool"
                            }
                        ]
                    }
                },
                {
                    "name": "capital_class",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    99, 97, 112, 105, 116, 97, 108, 95, 99, 108, 97, 115, 115
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool"
                            },
                            {
                                "kind": "account",
                                "path": "capital_class.class_id",
                                "account": "CapitalClass"
                            }
                        ]
                    }
                },
                {
                    "name": "pool_class_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 111, 111, 108, 95, 99, 108, 97, 115, 115, 95, 108, 101,
                                    100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "capital_class"
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.deposit_asset_mint",
                                "account": "LiquidityPool"
                            }
                        ]
                    }
                },
                {
                    "name": "lp_position",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [108, 112, 95, 112, 111, 115, 105, 116, 105, 111, 110]
                            },
                            {
                                "kind": "account",
                                "path": "capital_class"
                            },
                            {
                                "kind": "account",
                                "path": "owner"
                            }
                        ]
                    }
                },
                {
                    "name": "pool_treasury_vault",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 111, 111, 108, 95, 116, 114, 101, 97, 115, 117, 114, 121,
                                    95, 118, 97, 117, 108, 116
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool"
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.deposit_asset_mint",
                                "account": "LiquidityPool"
                            }
                        ]
                    }
                },
                {
                    "name": "source_token_account",
                    "writable": true
                },
                {
                    "name": "asset_mint"
                },
                {
                    "name": "vault_token_account",
                    "writable": true
                },
                {
                    "name": "token_program"
                },
                {
                    "name": "system_program",
                    "address": "11111111111111111111111111111111"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "DepositIntoCapitalClassArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "fund_sponsor_budget",
            "discriminator": [150, 210, 161, 31, 50, 12, 224, 32],
            "accounts": [
                {
                    "name": "authority",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "health_plan",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [104, 101, 97, 108, 116, 104, 95, 112, 108, 97, 110]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.health_plan_id",
                                "account": "HealthPlan"
                            }
                        ]
                    }
                },
                {
                    "name": "domain_asset_vault",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    118, 97, 117, 108, 116
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.asset_mint",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "domain_asset_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.asset_mint",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "funding_line",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    102, 117, 110, 100, 105, 110, 103, 95, 108, 105, 110, 101
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.line_id",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "funding_line_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    102, 117, 110, 100, 105, 110, 103, 95, 108, 105, 110, 101, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "funding_line"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.asset_mint",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "plan_reserve_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 108, 97, 110, 95, 114, 101, 115, 101, 114, 118, 101, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.asset_mint",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "series_reserve_ledger",
                    "writable": true,
                    "optional": true
                },
                {
                    "name": "source_token_account",
                    "writable": true
                },
                {
                    "name": "asset_mint"
                },
                {
                    "name": "vault_token_account",
                    "writable": true
                },
                {
                    "name": "token_program"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "FundSponsorBudgetArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "init_pool_oracle_fee_vault",
            "docs": [
                "Phase 1.6 — Initialize the pool-oracle fee vault for a (liquidity_pool,",
                "oracle, asset_mint) rail. Governance-only init; the registered oracle",
                "wallet (or oracle profile admin) signs withdrawals (PR2)."
            ],
            "discriminator": [68, 122, 148, 84, 91, 98, 198, 167],
            "accounts": [
                {
                    "name": "authority",
                    "writable": true,
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "liquidity_pool",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    108, 105, 113, 117, 105, 100, 105, 116, 121, 95, 112, 111,
                                    111, 108
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.reserve_domain",
                                "account": "LiquidityPool"
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.pool_id",
                                "account": "LiquidityPool"
                            }
                        ]
                    }
                },
                {
                    "name": "oracle_profile",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    111, 114, 97, 99, 108, 101, 95, 112, 114, 111, 102, 105, 108,
                                    101
                                ]
                            },
                            {
                                "kind": "arg",
                                "path": "args.oracle"
                            }
                        ]
                    }
                },
                {
                    "name": "pool_oracle_approval",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 111, 111, 108, 95, 111, 114, 97, 99, 108, 101, 95, 97,
                                    112, 112, 114, 111, 118, 97, 108
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool"
                            },
                            {
                                "kind": "arg",
                                "path": "args.oracle"
                            }
                        ]
                    }
                },
                {
                    "name": "domain_asset_vault",
                    "docs": [
                        "Required for SPL rails. The oracle fee vault accrues claims against the",
                        "same DomainAssetVault used by the pool."
                    ],
                    "optional": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    118, 97, 117, 108, 116
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.reserve_domain",
                                "account": "LiquidityPool"
                            },
                            {
                                "kind": "arg",
                                "path": "args.asset_mint"
                            }
                        ]
                    }
                },
                {
                    "name": "pool_oracle_fee_vault",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 111, 111, 108, 95, 111, 114, 97, 99, 108, 101, 95, 102,
                                    101, 101, 95, 118, 97, 117, 108, 116
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool"
                            },
                            {
                                "kind": "arg",
                                "path": "args.oracle"
                            },
                            {
                                "kind": "arg",
                                "path": "args.asset_mint"
                            }
                        ]
                    }
                },
                {
                    "name": "system_program",
                    "address": "11111111111111111111111111111111"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "InitPoolOracleFeeVaultArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "init_pool_treasury_vault",
            "docs": [
                "Phase 1.6 — Initialize the pool-treasury vault for a (liquidity_pool, asset_mint)",
                "rail. Governance-only init; pool-admin signs withdrawals (PR2)."
            ],
            "discriminator": [96, 169, 51, 224, 0, 207, 141, 47],
            "accounts": [
                {
                    "name": "authority",
                    "writable": true,
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "liquidity_pool",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    108, 105, 113, 117, 105, 100, 105, 116, 121, 95, 112, 111,
                                    111, 108
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.reserve_domain",
                                "account": "LiquidityPool"
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.pool_id",
                                "account": "LiquidityPool"
                            }
                        ]
                    }
                },
                {
                    "name": "domain_asset_vault",
                    "docs": [
                        "Required for SPL rails. Must match (liquidity_pool.reserve_domain, args.asset_mint)."
                    ],
                    "optional": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    118, 97, 117, 108, 116
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.reserve_domain",
                                "account": "LiquidityPool"
                            },
                            {
                                "kind": "arg",
                                "path": "args.asset_mint"
                            }
                        ]
                    }
                },
                {
                    "name": "pool_treasury_vault",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 111, 111, 108, 95, 116, 114, 101, 97, 115, 117, 114, 121,
                                    95, 118, 97, 117, 108, 116
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool"
                            },
                            {
                                "kind": "arg",
                                "path": "args.asset_mint"
                            }
                        ]
                    }
                },
                {
                    "name": "system_program",
                    "address": "11111111111111111111111111111111"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "InitPoolTreasuryVaultArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "init_protocol_fee_vault",
            "docs": [
                "Phase 1.6 — Initialize the protocol-fee vault for a (reserve_domain, asset_mint)",
                "rail. Governance-only; binds the rail to the asset mint at the program edge.",
                "Withdrawal authority is governance (PR2). Accrual is wired in PR1 hooks."
            ],
            "discriminator": [212, 235, 61, 42, 96, 183, 225, 57],
            "accounts": [
                {
                    "name": "authority",
                    "writable": true,
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "reserve_domain",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    114, 101, 115, 101, 114, 118, 101, 95, 100, 111, 109, 97, 105,
                                    110
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "reserve_domain.domain_id",
                                "account": "ReserveDomain"
                            }
                        ]
                    }
                },
                {
                    "name": "domain_asset_vault",
                    "docs": [
                        "Optional anchor to the SPL-rail DomainAssetVault. Required when",
                        "`args.asset_mint != NATIVE_SOL_MINT`; absent for SOL-rail vaults."
                    ],
                    "optional": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    118, 97, 117, 108, 116
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "reserve_domain"
                            },
                            {
                                "kind": "arg",
                                "path": "args.asset_mint"
                            }
                        ]
                    }
                },
                {
                    "name": "protocol_fee_vault",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 102, 101, 101, 95,
                                    118, 97, 117, 108, 116
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "reserve_domain"
                            },
                            {
                                "kind": "arg",
                                "path": "args.asset_mint"
                            }
                        ]
                    }
                },
                {
                    "name": "system_program",
                    "address": "11111111111111111111111111111111"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "InitProtocolFeeVaultArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "initialize_protocol_governance",
            "discriminator": [220, 188, 231, 198, 20, 71, 42, 123],
            "accounts": [
                {
                    "name": "governance_authority",
                    "writable": true,
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "program",
                    "address": "Bn6eixac1QEEVErGBvBjxAd6pgB9e2q4XHvAkinQ5y1B"
                },
                {
                    "name": "program_data"
                },
                {
                    "name": "system_program",
                    "address": "11111111111111111111111111111111"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "InitializeProtocolGovernanceArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "initialize_series_reserve_ledger",
            "discriminator": [113, 155, 191, 126, 81, 152, 220, 249],
            "accounts": [
                {
                    "name": "authority",
                    "writable": true,
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "health_plan",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [104, 101, 97, 108, 116, 104, 95, 112, 108, 97, 110]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.health_plan_id",
                                "account": "HealthPlan"
                            }
                        ]
                    }
                },
                {
                    "name": "policy_series",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 111, 108, 105, 99, 121, 95, 115, 101, 114, 105, 101, 115
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "account",
                                "path": "policy_series.series_id",
                                "account": "PolicySeries"
                            }
                        ]
                    }
                },
                {
                    "name": "series_reserve_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    115, 101, 114, 105, 101, 115, 95, 114, 101, 115, 101, 114,
                                    118, 101, 95, 108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "policy_series"
                            },
                            {
                                "kind": "arg",
                                "path": "args.asset_mint"
                            }
                        ]
                    }
                },
                {
                    "name": "system_program",
                    "address": "11111111111111111111111111111111"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "InitializeSeriesReserveLedgerArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "mark_impairment",
            "discriminator": [58, 97, 30, 157, 211, 45, 174, 238],
            "accounts": [
                {
                    "name": "authority",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "health_plan",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [104, 101, 97, 108, 116, 104, 95, 112, 108, 97, 110]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.health_plan_id",
                                "account": "HealthPlan"
                            }
                        ]
                    }
                },
                {
                    "name": "domain_asset_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.asset_mint",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "funding_line",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    102, 117, 110, 100, 105, 110, 103, 95, 108, 105, 110, 101
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.line_id",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "funding_line_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    102, 117, 110, 100, 105, 110, 103, 95, 108, 105, 110, 101, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "funding_line"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.asset_mint",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "plan_reserve_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 108, 97, 110, 95, 114, 101, 115, 101, 114, 118, 101, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.asset_mint",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "series_reserve_ledger",
                    "writable": true,
                    "optional": true
                },
                {
                    "name": "pool_class_ledger",
                    "writable": true,
                    "optional": true
                },
                {
                    "name": "allocation_position",
                    "writable": true,
                    "optional": true
                },
                {
                    "name": "allocation_ledger",
                    "writable": true,
                    "optional": true
                },
                {
                    "name": "obligation",
                    "writable": true,
                    "optional": true
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "MarkImpairmentArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "open_claim_case",
            "discriminator": [151, 125, 231, 211, 63, 132, 248, 184],
            "accounts": [
                {
                    "name": "authority",
                    "writable": true,
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "health_plan",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [104, 101, 97, 108, 116, 104, 95, 112, 108, 97, 110]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.health_plan_id",
                                "account": "HealthPlan"
                            }
                        ]
                    }
                },
                {
                    "name": "member_position",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    109, 101, 109, 98, 101, 114, 95, 112, 111, 115, 105, 116, 105,
                                    111, 110
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "account",
                                "path": "member_position.wallet",
                                "account": "MemberPosition"
                            },
                            {
                                "kind": "account",
                                "path": "member_position.policy_series",
                                "account": "MemberPosition"
                            }
                        ]
                    }
                },
                {
                    "name": "funding_line",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    102, 117, 110, 100, 105, 110, 103, 95, 108, 105, 110, 101
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.line_id",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "claim_case",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [99, 108, 97, 105, 109, 95, 99, 97, 115, 101]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "arg",
                                "path": "args.claim_id"
                            }
                        ]
                    }
                },
                {
                    "name": "system_program",
                    "address": "11111111111111111111111111111111"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "OpenClaimCaseArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "open_funding_line",
            "discriminator": [231, 140, 66, 127, 163, 1, 197, 9],
            "accounts": [
                {
                    "name": "authority",
                    "writable": true,
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "health_plan",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [104, 101, 97, 108, 116, 104, 95, 112, 108, 97, 110]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.health_plan_id",
                                "account": "HealthPlan"
                            }
                        ]
                    }
                },
                {
                    "name": "domain_asset_vault",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    118, 97, 117, 108, 116
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "arg",
                                "path": "args.asset_mint"
                            }
                        ]
                    }
                },
                {
                    "name": "domain_asset_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "arg",
                                "path": "args.asset_mint"
                            }
                        ]
                    }
                },
                {
                    "name": "funding_line",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    102, 117, 110, 100, 105, 110, 103, 95, 108, 105, 110, 101
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "arg",
                                "path": "args.line_id"
                            }
                        ]
                    }
                },
                {
                    "name": "funding_line_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    102, 117, 110, 100, 105, 110, 103, 95, 108, 105, 110, 101, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "funding_line"
                            },
                            {
                                "kind": "arg",
                                "path": "args.asset_mint"
                            }
                        ]
                    }
                },
                {
                    "name": "plan_reserve_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 108, 97, 110, 95, 114, 101, 115, 101, 114, 118, 101, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "arg",
                                "path": "args.asset_mint"
                            }
                        ]
                    }
                },
                {
                    "name": "policy_series",
                    "optional": true
                },
                {
                    "name": "series_reserve_ledger",
                    "writable": true,
                    "optional": true
                },
                {
                    "name": "system_program",
                    "address": "11111111111111111111111111111111"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "OpenFundingLineArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "open_member_position",
            "discriminator": [161, 42, 115, 196, 30, 87, 104, 236],
            "accounts": [
                {
                    "name": "wallet",
                    "writable": true,
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "health_plan",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [104, 101, 97, 108, 116, 104, 95, 112, 108, 97, 110]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.health_plan_id",
                                "account": "HealthPlan"
                            }
                        ]
                    }
                },
                {
                    "name": "policy_series",
                    "optional": true
                },
                {
                    "name": "member_position",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    109, 101, 109, 98, 101, 114, 95, 112, 111, 115, 105, 116, 105,
                                    111, 110
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "account",
                                "path": "wallet"
                            },
                            {
                                "kind": "arg",
                                "path": "args.series_scope"
                            }
                        ]
                    }
                },
                {
                    "name": "membership_anchor_seat",
                    "writable": true,
                    "optional": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    109, 101, 109, 98, 101, 114, 115, 104, 105, 112, 95, 97, 110,
                                    99, 104, 111, 114, 95, 115, 101, 97, 116
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "arg",
                                "path": "args.anchor_ref"
                            }
                        ]
                    }
                },
                {
                    "name": "token_gate_account",
                    "optional": true
                },
                {
                    "name": "invite_authority",
                    "signer": true,
                    "optional": true
                },
                {
                    "name": "system_program",
                    "address": "11111111111111111111111111111111"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "OpenMemberPositionArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "process_redemption_queue",
            "discriminator": [244, 120, 208, 73, 216, 200, 158, 93],
            "accounts": [
                {
                    "name": "authority",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "domain_asset_vault",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    118, 97, 117, 108, 116
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.reserve_domain",
                                "account": "LiquidityPool"
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.deposit_asset_mint",
                                "account": "LiquidityPool"
                            }
                        ]
                    }
                },
                {
                    "name": "domain_asset_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.reserve_domain",
                                "account": "LiquidityPool"
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.deposit_asset_mint",
                                "account": "LiquidityPool"
                            }
                        ]
                    }
                },
                {
                    "name": "liquidity_pool",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    108, 105, 113, 117, 105, 100, 105, 116, 121, 95, 112, 111,
                                    111, 108
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.reserve_domain",
                                "account": "LiquidityPool"
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.pool_id",
                                "account": "LiquidityPool"
                            }
                        ]
                    }
                },
                {
                    "name": "capital_class",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    99, 97, 112, 105, 116, 97, 108, 95, 99, 108, 97, 115, 115
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool"
                            },
                            {
                                "kind": "account",
                                "path": "capital_class.class_id",
                                "account": "CapitalClass"
                            }
                        ]
                    }
                },
                {
                    "name": "pool_class_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 111, 111, 108, 95, 99, 108, 97, 115, 115, 95, 108, 101,
                                    100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "capital_class"
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.deposit_asset_mint",
                                "account": "LiquidityPool"
                            }
                        ]
                    }
                },
                {
                    "name": "lp_position",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [108, 112, 95, 112, 111, 115, 105, 116, 105, 111, 110]
                            },
                            {
                                "kind": "account",
                                "path": "capital_class"
                            },
                            {
                                "kind": "account",
                                "path": "lp_position.owner",
                                "account": "LPPosition"
                            }
                        ]
                    }
                },
                {
                    "name": "pool_treasury_vault",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 111, 111, 108, 95, 116, 114, 101, 97, 115, 117, 114, 121,
                                    95, 118, 97, 117, 108, 116
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool"
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.deposit_asset_mint",
                                "account": "LiquidityPool"
                            }
                        ]
                    }
                },
                {
                    "name": "asset_mint"
                },
                {
                    "name": "vault_token_account",
                    "writable": true
                },
                {
                    "name": "recipient_token_account",
                    "writable": true
                },
                {
                    "name": "token_program"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "ProcessRedemptionQueueArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "publish_reserve_asset_rail_price",
            "discriminator": [132, 35, 143, 147, 59, 80, 162, 117],
            "accounts": [
                {
                    "name": "authority",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "reserve_asset_rail",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    114, 101, 115, 101, 114, 118, 101, 95, 97, 115, 115, 101, 116,
                                    95, 114, 97, 105, 108
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "reserve_asset_rail.reserve_domain",
                                "account": "ReserveAssetRail"
                            },
                            {
                                "kind": "account",
                                "path": "reserve_asset_rail.asset_mint",
                                "account": "ReserveAssetRail"
                            }
                        ]
                    }
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "PublishReserveAssetRailPriceArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "record_premium_payment",
            "discriminator": [196, 182, 182, 56, 146, 87, 170, 29],
            "accounts": [
                {
                    "name": "authority",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "health_plan",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [104, 101, 97, 108, 116, 104, 95, 112, 108, 97, 110]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.health_plan_id",
                                "account": "HealthPlan"
                            }
                        ]
                    }
                },
                {
                    "name": "domain_asset_vault",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    118, 97, 117, 108, 116
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.asset_mint",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "domain_asset_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.asset_mint",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "funding_line",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    102, 117, 110, 100, 105, 110, 103, 95, 108, 105, 110, 101
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.line_id",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "funding_line_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    102, 117, 110, 100, 105, 110, 103, 95, 108, 105, 110, 101, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "funding_line"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.asset_mint",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "plan_reserve_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 108, 97, 110, 95, 114, 101, 115, 101, 114, 118, 101, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.asset_mint",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "series_reserve_ledger",
                    "writable": true,
                    "optional": true
                },
                {
                    "name": "protocol_fee_vault",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 102, 101, 101, 95,
                                    118, 97, 117, 108, 116
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.asset_mint",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "source_token_account",
                    "writable": true
                },
                {
                    "name": "asset_mint"
                },
                {
                    "name": "vault_token_account",
                    "writable": true
                },
                {
                    "name": "token_program"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "RecordPremiumPaymentArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "register_oracle",
            "discriminator": [176, 200, 234, 37, 199, 129, 164, 111],
            "accounts": [
                {
                    "name": "admin",
                    "writable": true,
                    "signer": true
                },
                {
                    "name": "oracle_profile",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    111, 114, 97, 99, 108, 101, 95, 112, 114, 111, 102, 105, 108,
                                    101
                                ]
                            },
                            {
                                "kind": "arg",
                                "path": "args.oracle"
                            }
                        ]
                    }
                },
                {
                    "name": "system_program",
                    "address": "11111111111111111111111111111111"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "RegisterOracleArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "register_outcome_schema",
            "discriminator": [187, 68, 109, 211, 168, 181, 105, 32],
            "accounts": [
                {
                    "name": "publisher",
                    "writable": true,
                    "signer": true
                },
                {
                    "name": "outcome_schema",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    111, 117, 116, 99, 111, 109, 101, 95, 115, 99, 104, 101, 109,
                                    97
                                ]
                            },
                            {
                                "kind": "arg",
                                "path": "args.schema_key_hash"
                            }
                        ]
                    }
                },
                {
                    "name": "schema_dependency_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    115, 99, 104, 101, 109, 97, 95, 100, 101, 112, 101, 110, 100,
                                    101, 110, 99, 121, 95, 108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "arg",
                                "path": "args.schema_key_hash"
                            }
                        ]
                    }
                },
                {
                    "name": "system_program",
                    "address": "11111111111111111111111111111111"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "RegisterOutcomeSchemaArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "release_reserve",
            "discriminator": [170, 102, 52, 144, 33, 176, 41, 60],
            "accounts": [
                {
                    "name": "authority",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "health_plan",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [104, 101, 97, 108, 116, 104, 95, 112, 108, 97, 110]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.health_plan_id",
                                "account": "HealthPlan"
                            }
                        ]
                    }
                },
                {
                    "name": "domain_asset_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "obligation.asset_mint",
                                "account": "Obligation"
                            }
                        ]
                    }
                },
                {
                    "name": "funding_line",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    102, 117, 110, 100, 105, 110, 103, 95, 108, 105, 110, 101
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.line_id",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "funding_line_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    102, 117, 110, 100, 105, 110, 103, 95, 108, 105, 110, 101, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "funding_line"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.asset_mint",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "plan_reserve_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 108, 97, 110, 95, 114, 101, 115, 101, 114, 118, 101, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "account",
                                "path": "obligation.asset_mint",
                                "account": "Obligation"
                            }
                        ]
                    }
                },
                {
                    "name": "series_reserve_ledger",
                    "writable": true,
                    "optional": true
                },
                {
                    "name": "pool_class_ledger",
                    "writable": true,
                    "optional": true
                },
                {
                    "name": "allocation_position",
                    "writable": true,
                    "optional": true
                },
                {
                    "name": "allocation_ledger",
                    "writable": true,
                    "optional": true
                },
                {
                    "name": "obligation",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [111, 98, 108, 105, 103, 97, 116, 105, 111, 110]
                            },
                            {
                                "kind": "account",
                                "path": "funding_line"
                            },
                            {
                                "kind": "account",
                                "path": "obligation.obligation_id",
                                "account": "Obligation"
                            }
                        ]
                    }
                },
                {
                    "name": "claim_case",
                    "writable": true,
                    "optional": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [99, 108, 97, 105, 109, 95, 99, 97, 115, 101]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "account",
                                "path": "claim_case.claim_id",
                                "account": "ClaimCase"
                            }
                        ]
                    }
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "ReleaseReserveArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "request_redemption",
            "discriminator": [14, 62, 182, 237, 59, 79, 149, 22],
            "accounts": [
                {
                    "name": "owner",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "liquidity_pool",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    108, 105, 113, 117, 105, 100, 105, 116, 121, 95, 112, 111,
                                    111, 108
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.reserve_domain",
                                "account": "LiquidityPool"
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.pool_id",
                                "account": "LiquidityPool"
                            }
                        ]
                    }
                },
                {
                    "name": "capital_class",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    99, 97, 112, 105, 116, 97, 108, 95, 99, 108, 97, 115, 115
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool"
                            },
                            {
                                "kind": "account",
                                "path": "capital_class.class_id",
                                "account": "CapitalClass"
                            }
                        ]
                    }
                },
                {
                    "name": "pool_class_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 111, 111, 108, 95, 99, 108, 97, 115, 115, 95, 108, 101,
                                    100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "capital_class"
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.deposit_asset_mint",
                                "account": "LiquidityPool"
                            }
                        ]
                    }
                },
                {
                    "name": "domain_asset_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.reserve_domain",
                                "account": "LiquidityPool"
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.deposit_asset_mint",
                                "account": "LiquidityPool"
                            }
                        ]
                    }
                },
                {
                    "name": "lp_position",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [108, 112, 95, 112, 111, 115, 105, 116, 105, 111, 110]
                            },
                            {
                                "kind": "account",
                                "path": "capital_class"
                            },
                            {
                                "kind": "account",
                                "path": "owner"
                            }
                        ]
                    }
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "RequestRedemptionArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "reserve_obligation",
            "discriminator": [48, 113, 133, 225, 40, 36, 197, 86],
            "accounts": [
                {
                    "name": "authority",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "health_plan",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [104, 101, 97, 108, 116, 104, 95, 112, 108, 97, 110]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.health_plan_id",
                                "account": "HealthPlan"
                            }
                        ]
                    }
                },
                {
                    "name": "domain_asset_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "obligation.asset_mint",
                                "account": "Obligation"
                            }
                        ]
                    }
                },
                {
                    "name": "funding_line",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    102, 117, 110, 100, 105, 110, 103, 95, 108, 105, 110, 101
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.line_id",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "funding_line_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    102, 117, 110, 100, 105, 110, 103, 95, 108, 105, 110, 101, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "funding_line"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.asset_mint",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "plan_reserve_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 108, 97, 110, 95, 114, 101, 115, 101, 114, 118, 101, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "account",
                                "path": "obligation.asset_mint",
                                "account": "Obligation"
                            }
                        ]
                    }
                },
                {
                    "name": "series_reserve_ledger",
                    "writable": true,
                    "optional": true
                },
                {
                    "name": "pool_class_ledger",
                    "writable": true,
                    "optional": true
                },
                {
                    "name": "allocation_position",
                    "writable": true,
                    "optional": true
                },
                {
                    "name": "allocation_ledger",
                    "writable": true,
                    "optional": true
                },
                {
                    "name": "obligation",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [111, 98, 108, 105, 103, 97, 116, 105, 111, 110]
                            },
                            {
                                "kind": "account",
                                "path": "funding_line"
                            },
                            {
                                "kind": "account",
                                "path": "obligation.obligation_id",
                                "account": "Obligation"
                            }
                        ]
                    }
                },
                {
                    "name": "claim_case",
                    "writable": true,
                    "optional": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [99, 108, 97, 105, 109, 95, 99, 97, 115, 101]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "account",
                                "path": "claim_case.claim_id",
                                "account": "ClaimCase"
                            }
                        ]
                    }
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "ReserveObligationArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "rotate_protocol_governance_authority",
            "discriminator": [173, 25, 179, 236, 198, 190, 207, 98],
            "accounts": [
                {
                    "name": "authority",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "RotateProtocolGovernanceAuthorityArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "set_pool_oracle",
            "discriminator": [140, 225, 146, 45, 210, 81, 225, 223],
            "accounts": [
                {
                    "name": "authority",
                    "writable": true,
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "liquidity_pool",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    108, 105, 113, 117, 105, 100, 105, 116, 121, 95, 112, 111,
                                    111, 108
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.reserve_domain",
                                "account": "LiquidityPool"
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.pool_id",
                                "account": "LiquidityPool"
                            }
                        ]
                    }
                },
                {
                    "name": "oracle_profile",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    111, 114, 97, 99, 108, 101, 95, 112, 114, 111, 102, 105, 108,
                                    101
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "oracle_profile.oracle",
                                "account": "OracleProfile"
                            }
                        ]
                    }
                },
                {
                    "name": "pool_oracle_approval",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 111, 111, 108, 95, 111, 114, 97, 99, 108, 101, 95, 97,
                                    112, 112, 114, 111, 118, 97, 108
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool"
                            },
                            {
                                "kind": "account",
                                "path": "oracle_profile.oracle",
                                "account": "OracleProfile"
                            }
                        ]
                    }
                },
                {
                    "name": "system_program",
                    "address": "11111111111111111111111111111111"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "SetPoolOracleArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "set_pool_oracle_permissions",
            "discriminator": [168, 14, 22, 106, 118, 145, 105, 44],
            "accounts": [
                {
                    "name": "authority",
                    "writable": true,
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "liquidity_pool",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    108, 105, 113, 117, 105, 100, 105, 116, 121, 95, 112, 111,
                                    111, 108
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.reserve_domain",
                                "account": "LiquidityPool"
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.pool_id",
                                "account": "LiquidityPool"
                            }
                        ]
                    }
                },
                {
                    "name": "oracle_profile",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    111, 114, 97, 99, 108, 101, 95, 112, 114, 111, 102, 105, 108,
                                    101
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "oracle_profile.oracle",
                                "account": "OracleProfile"
                            }
                        ]
                    }
                },
                {
                    "name": "pool_oracle_approval",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 111, 111, 108, 95, 111, 114, 97, 99, 108, 101, 95, 97,
                                    112, 112, 114, 111, 118, 97, 108
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool"
                            },
                            {
                                "kind": "account",
                                "path": "oracle_profile.oracle",
                                "account": "OracleProfile"
                            }
                        ]
                    }
                },
                {
                    "name": "pool_oracle_permission_set",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 111, 111, 108, 95, 111, 114, 97, 99, 108, 101, 95, 112,
                                    101, 114, 109, 105, 115, 115, 105, 111, 110, 95, 115, 101, 116
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool"
                            },
                            {
                                "kind": "account",
                                "path": "oracle_profile.oracle",
                                "account": "OracleProfile"
                            }
                        ]
                    }
                },
                {
                    "name": "system_program",
                    "address": "11111111111111111111111111111111"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "SetPoolOraclePermissionsArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "set_pool_oracle_policy",
            "discriminator": [190, 13, 51, 113, 230, 140, 103, 82],
            "accounts": [
                {
                    "name": "authority",
                    "writable": true,
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "liquidity_pool",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    108, 105, 113, 117, 105, 100, 105, 116, 121, 95, 112, 111,
                                    111, 108
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.reserve_domain",
                                "account": "LiquidityPool"
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.pool_id",
                                "account": "LiquidityPool"
                            }
                        ]
                    }
                },
                {
                    "name": "pool_oracle_policy",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 111, 111, 108, 95, 111, 114, 97, 99, 108, 101, 95, 112,
                                    111, 108, 105, 99, 121
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool"
                            }
                        ]
                    }
                },
                {
                    "name": "system_program",
                    "address": "11111111111111111111111111111111"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "SetPoolOraclePolicyArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "set_protocol_emergency_pause",
            "discriminator": [180, 209, 92, 144, 227, 14, 97, 94],
            "accounts": [
                {
                    "name": "authority",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "SetProtocolEmergencyPauseArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "settle_claim_case",
            "discriminator": [178, 123, 229, 204, 50, 204, 91, 71],
            "accounts": [
                {
                    "name": "authority",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "health_plan",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [104, 101, 97, 108, 116, 104, 95, 112, 108, 97, 110]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.health_plan_id",
                                "account": "HealthPlan"
                            }
                        ]
                    }
                },
                {
                    "name": "reserve_asset_rail",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    114, 101, 115, 101, 114, 118, 101, 95, 97, 115, 115, 101, 116,
                                    95, 114, 97, 105, 108
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.asset_mint",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "domain_asset_vault",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    118, 97, 117, 108, 116
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.asset_mint",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "domain_asset_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.asset_mint",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "funding_line",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    102, 117, 110, 100, 105, 110, 103, 95, 108, 105, 110, 101
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.line_id",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "funding_line_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    102, 117, 110, 100, 105, 110, 103, 95, 108, 105, 110, 101, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "funding_line"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.asset_mint",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "plan_reserve_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 108, 97, 110, 95, 114, 101, 115, 101, 114, 118, 101, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.asset_mint",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "series_reserve_ledger",
                    "writable": true,
                    "optional": true
                },
                {
                    "name": "pool_class_ledger",
                    "writable": true,
                    "optional": true
                },
                {
                    "name": "allocation_position",
                    "writable": true,
                    "optional": true
                },
                {
                    "name": "allocation_ledger",
                    "writable": true,
                    "optional": true
                },
                {
                    "name": "claim_case",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [99, 108, 97, 105, 109, 95, 99, 97, 115, 101]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "account",
                                "path": "claim_case.claim_id",
                                "account": "ClaimCase"
                            }
                        ]
                    }
                },
                {
                    "name": "obligation",
                    "writable": true,
                    "optional": true
                },
                {
                    "name": "protocol_fee_vault",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 102, 101, 101, 95,
                                    118, 97, 117, 108, 116
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.asset_mint",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "pool_oracle_fee_vault",
                    "docs": [
                        "Phase 1.6 — optional pool-oracle fee vault for attesting-oracle revshare.",
                        "When supplied alongside `pool_oracle_policy` and `oracle_fee_attestation`,",
                        "the bps from policy is applied to the gross amount and credited to the",
                        "oracle that signed the supplied attestation."
                    ],
                    "writable": true,
                    "optional": true
                },
                {
                    "name": "pool_oracle_policy",
                    "docs": [
                        "Phase 1.6 — pairs with pool_oracle_fee_vault. The handler reads",
                        "`oracle_fee_bps` from policy. Required when pool_oracle_fee_vault is Some;",
                        "ignored otherwise. Validated at runtime."
                    ],
                    "optional": true
                },
                {
                    "name": "oracle_fee_attestation",
                    "docs": [
                        "Phase 1.6 — matching claim attestation for the oracle fee recipient.",
                        "Required when pool_oracle_fee_vault and pool_oracle_policy are supplied."
                    ],
                    "optional": true
                },
                {
                    "name": "member_position"
                },
                {
                    "name": "asset_mint"
                },
                {
                    "name": "vault_token_account",
                    "writable": true
                },
                {
                    "name": "recipient_token_account",
                    "writable": true
                },
                {
                    "name": "token_program"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "SettleClaimCaseArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "settle_claim_case_selected_asset",
            "discriminator": [21, 218, 248, 73, 41, 97, 47, 212],
            "accounts": [
                {
                    "name": "authority",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "health_plan",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [104, 101, 97, 108, 116, 104, 95, 112, 108, 97, 110]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.health_plan_id",
                                "account": "HealthPlan"
                            }
                        ]
                    }
                },
                {
                    "name": "claim_asset_rail",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    114, 101, 115, 101, 114, 118, 101, 95, 97, 115, 115, 101, 116,
                                    95, 114, 97, 105, 108
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "claim_case.asset_mint",
                                "account": "ClaimCase"
                            }
                        ]
                    }
                },
                {
                    "name": "payout_asset_rail",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    114, 101, 115, 101, 114, 118, 101, 95, 97, 115, 115, 101, 116,
                                    95, 114, 97, 105, 108
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "payout_funding_line.asset_mint",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "payout_domain_asset_vault",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    118, 97, 117, 108, 116
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "payout_funding_line.asset_mint",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "payout_domain_asset_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "payout_funding_line.asset_mint",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "payout_funding_line",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    102, 117, 110, 100, 105, 110, 103, 95, 108, 105, 110, 101
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "account",
                                "path": "payout_funding_line.line_id",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "payout_funding_line_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    102, 117, 110, 100, 105, 110, 103, 95, 108, 105, 110, 101, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "payout_funding_line"
                            },
                            {
                                "kind": "account",
                                "path": "payout_funding_line.asset_mint",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "payout_plan_reserve_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 108, 97, 110, 95, 114, 101, 115, 101, 114, 118, 101, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "account",
                                "path": "payout_funding_line.asset_mint",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "payout_series_reserve_ledger",
                    "writable": true,
                    "optional": true
                },
                {
                    "name": "claim_case",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [99, 108, 97, 105, 109, 95, 99, 97, 115, 101]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "account",
                                "path": "claim_case.claim_id",
                                "account": "ClaimCase"
                            }
                        ]
                    }
                },
                {
                    "name": "member_position"
                },
                {
                    "name": "claim_asset_mint"
                },
                {
                    "name": "payout_asset_mint"
                },
                {
                    "name": "payout_vault_token_account",
                    "writable": true
                },
                {
                    "name": "recipient_token_account",
                    "writable": true
                },
                {
                    "name": "token_program"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "SettleClaimCaseSelectedAssetArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "settle_obligation",
            "discriminator": [209, 166, 218, 35, 147, 139, 238, 208],
            "accounts": [
                {
                    "name": "authority",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "health_plan",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [104, 101, 97, 108, 116, 104, 95, 112, 108, 97, 110]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.health_plan_id",
                                "account": "HealthPlan"
                            }
                        ]
                    }
                },
                {
                    "name": "reserve_asset_rail",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    114, 101, 115, 101, 114, 118, 101, 95, 97, 115, 115, 101, 116,
                                    95, 114, 97, 105, 108
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "obligation.asset_mint",
                                "account": "Obligation"
                            }
                        ]
                    }
                },
                {
                    "name": "domain_asset_vault",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    118, 97, 117, 108, 116
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "obligation.asset_mint",
                                "account": "Obligation"
                            }
                        ]
                    }
                },
                {
                    "name": "domain_asset_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "obligation.asset_mint",
                                "account": "Obligation"
                            }
                        ]
                    }
                },
                {
                    "name": "funding_line",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    102, 117, 110, 100, 105, 110, 103, 95, 108, 105, 110, 101
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.line_id",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "funding_line_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    102, 117, 110, 100, 105, 110, 103, 95, 108, 105, 110, 101, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "funding_line"
                            },
                            {
                                "kind": "account",
                                "path": "funding_line.asset_mint",
                                "account": "FundingLine"
                            }
                        ]
                    }
                },
                {
                    "name": "plan_reserve_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 108, 97, 110, 95, 114, 101, 115, 101, 114, 118, 101, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "account",
                                "path": "obligation.asset_mint",
                                "account": "Obligation"
                            }
                        ]
                    }
                },
                {
                    "name": "series_reserve_ledger",
                    "writable": true,
                    "optional": true
                },
                {
                    "name": "pool_class_ledger",
                    "writable": true,
                    "optional": true
                },
                {
                    "name": "allocation_position",
                    "writable": true,
                    "optional": true
                },
                {
                    "name": "allocation_ledger",
                    "writable": true,
                    "optional": true
                },
                {
                    "name": "obligation",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [111, 98, 108, 105, 103, 97, 116, 105, 111, 110]
                            },
                            {
                                "kind": "account",
                                "path": "funding_line"
                            },
                            {
                                "kind": "account",
                                "path": "obligation.obligation_id",
                                "account": "Obligation"
                            }
                        ]
                    }
                },
                {
                    "name": "claim_case",
                    "writable": true,
                    "optional": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [99, 108, 97, 105, 109, 95, 99, 97, 115, 101]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "account",
                                "path": "claim_case.claim_id",
                                "account": "ClaimCase"
                            }
                        ]
                    }
                },
                {
                    "name": "member_position",
                    "optional": true
                },
                {
                    "name": "asset_mint",
                    "optional": true
                },
                {
                    "name": "vault_token_account",
                    "writable": true,
                    "optional": true
                },
                {
                    "name": "recipient_token_account",
                    "writable": true,
                    "optional": true
                },
                {
                    "name": "token_program",
                    "optional": true
                },
                {
                    "name": "pool_oracle_fee_vault",
                    "writable": true,
                    "optional": true
                },
                {
                    "name": "pool_oracle_policy",
                    "optional": true
                },
                {
                    "name": "oracle_fee_attestation",
                    "optional": true
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "SettleObligationArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "update_allocation_caps",
            "discriminator": [224, 101, 103, 146, 78, 5, 48, 132],
            "accounts": [
                {
                    "name": "authority",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "liquidity_pool",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    108, 105, 113, 117, 105, 100, 105, 116, 121, 95, 112, 111,
                                    111, 108
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.reserve_domain",
                                "account": "LiquidityPool"
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.pool_id",
                                "account": "LiquidityPool"
                            }
                        ]
                    }
                },
                {
                    "name": "allocation_position",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    97, 108, 108, 111, 99, 97, 116, 105, 111, 110, 95, 112, 111,
                                    115, 105, 116, 105, 111, 110
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "allocation_position.capital_class",
                                "account": "AllocationPosition"
                            },
                            {
                                "kind": "account",
                                "path": "allocation_position.funding_line",
                                "account": "AllocationPosition"
                            }
                        ]
                    }
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "UpdateAllocationCapsArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "update_capital_class_controls",
            "discriminator": [34, 4, 113, 70, 79, 197, 244, 109],
            "accounts": [
                {
                    "name": "authority",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "liquidity_pool",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    108, 105, 113, 117, 105, 100, 105, 116, 121, 95, 112, 111,
                                    111, 108
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.reserve_domain",
                                "account": "LiquidityPool"
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.pool_id",
                                "account": "LiquidityPool"
                            }
                        ]
                    }
                },
                {
                    "name": "capital_class",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    99, 97, 112, 105, 116, 97, 108, 95, 99, 108, 97, 115, 115
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool"
                            },
                            {
                                "kind": "account",
                                "path": "capital_class.class_id",
                                "account": "CapitalClass"
                            }
                        ]
                    }
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "UpdateCapitalClassControlsArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "update_health_plan_controls",
            "discriminator": [108, 11, 28, 140, 226, 164, 239, 113],
            "accounts": [
                {
                    "name": "authority",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "health_plan",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [104, 101, 97, 108, 116, 104, 95, 112, 108, 97, 110]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.health_plan_id",
                                "account": "HealthPlan"
                            }
                        ]
                    }
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "UpdateHealthPlanControlsArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "update_lp_position_credentialing",
            "discriminator": [54, 194, 211, 94, 197, 61, 228, 202],
            "accounts": [
                {
                    "name": "authority",
                    "writable": true,
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "liquidity_pool",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    108, 105, 113, 117, 105, 100, 105, 116, 121, 95, 112, 111,
                                    111, 108
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.reserve_domain",
                                "account": "LiquidityPool"
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.pool_id",
                                "account": "LiquidityPool"
                            }
                        ]
                    }
                },
                {
                    "name": "capital_class",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    99, 97, 112, 105, 116, 97, 108, 95, 99, 108, 97, 115, 115
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool"
                            },
                            {
                                "kind": "account",
                                "path": "capital_class.class_id",
                                "account": "CapitalClass"
                            }
                        ]
                    }
                },
                {
                    "name": "lp_position",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [108, 112, 95, 112, 111, 115, 105, 116, 105, 111, 110]
                            },
                            {
                                "kind": "account",
                                "path": "capital_class"
                            },
                            {
                                "kind": "arg",
                                "path": "args.owner"
                            }
                        ]
                    }
                },
                {
                    "name": "system_program",
                    "address": "11111111111111111111111111111111"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "UpdateLpPositionCredentialingArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "update_member_eligibility",
            "discriminator": [254, 66, 68, 244, 98, 157, 111, 191],
            "accounts": [
                {
                    "name": "authority",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "health_plan",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [104, 101, 97, 108, 116, 104, 95, 112, 108, 97, 110]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.health_plan_id",
                                "account": "HealthPlan"
                            }
                        ]
                    }
                },
                {
                    "name": "member_position",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    109, 101, 109, 98, 101, 114, 95, 112, 111, 115, 105, 116, 105,
                                    111, 110
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "account",
                                "path": "member_position.wallet",
                                "account": "MemberPosition"
                            },
                            {
                                "kind": "account",
                                "path": "member_position.policy_series",
                                "account": "MemberPosition"
                            }
                        ]
                    }
                },
                {
                    "name": "membership_anchor_seat",
                    "writable": true,
                    "optional": true
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "UpdateMemberEligibilityArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "update_oracle_profile",
            "discriminator": [175, 66, 157, 51, 96, 190, 163, 98],
            "accounts": [
                {
                    "name": "authority",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "oracle_profile",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    111, 114, 97, 99, 108, 101, 95, 112, 114, 111, 102, 105, 108,
                                    101
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "oracle_profile.oracle",
                                "account": "OracleProfile"
                            }
                        ]
                    }
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "UpdateOracleProfileArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "update_reserve_domain_controls",
            "discriminator": [3, 60, 38, 233, 198, 167, 116, 197],
            "accounts": [
                {
                    "name": "authority",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "reserve_domain",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    114, 101, 115, 101, 114, 118, 101, 95, 100, 111, 109, 97, 105,
                                    110
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "reserve_domain.domain_id",
                                "account": "ReserveDomain"
                            }
                        ]
                    }
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "UpdateReserveDomainControlsArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "verify_outcome_schema",
            "discriminator": [221, 10, 144, 137, 106, 214, 205, 170],
            "accounts": [
                {
                    "name": "governance_authority",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "outcome_schema",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    111, 117, 116, 99, 111, 109, 101, 95, 115, 99, 104, 101, 109,
                                    97
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "outcome_schema.schema_key_hash",
                                "account": "OutcomeSchema"
                            }
                        ]
                    }
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "VerifyOutcomeSchemaArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "version_policy_series",
            "discriminator": [64, 76, 132, 253, 41, 220, 169, 146],
            "accounts": [
                {
                    "name": "authority",
                    "writable": true,
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "health_plan",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [104, 101, 97, 108, 116, 104, 95, 112, 108, 97, 110]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.reserve_domain",
                                "account": "HealthPlan"
                            },
                            {
                                "kind": "account",
                                "path": "health_plan.health_plan_id",
                                "account": "HealthPlan"
                            }
                        ]
                    }
                },
                {
                    "name": "current_policy_series",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 111, 108, 105, 99, 121, 95, 115, 101, 114, 105, 101, 115
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "account",
                                "path": "current_policy_series.series_id",
                                "account": "PolicySeries"
                            }
                        ]
                    }
                },
                {
                    "name": "next_policy_series",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 111, 108, 105, 99, 121, 95, 115, 101, 114, 105, 101, 115
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "health_plan"
                            },
                            {
                                "kind": "arg",
                                "path": "args.series_id"
                            }
                        ]
                    }
                },
                {
                    "name": "next_series_reserve_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    115, 101, 114, 105, 101, 115, 95, 114, 101, 115, 101, 114,
                                    118, 101, 95, 108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "next_policy_series"
                            },
                            {
                                "kind": "account",
                                "path": "current_policy_series.asset_mint",
                                "account": "PolicySeries"
                            }
                        ]
                    }
                },
                {
                    "name": "system_program",
                    "address": "11111111111111111111111111111111"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "VersionPolicySeriesArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "withdraw_pool_oracle_fee_sol",
            "docs": [
                "Sweep accrued pool-oracle fees (SOL rail) to a recipient system account.",
                "Authority: registered oracle wallet OR oracle profile admin OR governance."
            ],
            "discriminator": [208, 223, 250, 62, 199, 8, 221, 185],
            "accounts": [
                {
                    "name": "authority",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "liquidity_pool",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    108, 105, 113, 117, 105, 100, 105, 116, 121, 95, 112, 111,
                                    111, 108
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.reserve_domain",
                                "account": "LiquidityPool"
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.pool_id",
                                "account": "LiquidityPool"
                            }
                        ]
                    }
                },
                {
                    "name": "oracle_profile",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    111, 114, 97, 99, 108, 101, 95, 112, 114, 111, 102, 105, 108,
                                    101
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "oracle_profile.oracle",
                                "account": "OracleProfile"
                            }
                        ]
                    }
                },
                {
                    "name": "pool_oracle_fee_vault",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 111, 111, 108, 95, 111, 114, 97, 99, 108, 101, 95, 102,
                                    101, 101, 95, 118, 97, 117, 108, 116
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool"
                            },
                            {
                                "kind": "account",
                                "path": "pool_oracle_fee_vault.oracle",
                                "account": "PoolOracleFeeVault"
                            },
                            {
                                "kind": "account",
                                "path": "pool_oracle_fee_vault.asset_mint",
                                "account": "PoolOracleFeeVault"
                            }
                        ]
                    }
                },
                {
                    "name": "recipient",
                    "writable": true
                },
                {
                    "name": "system_program",
                    "address": "11111111111111111111111111111111"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "WithdrawArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "withdraw_pool_oracle_fee_spl",
            "docs": [
                "Sweep accrued pool-oracle fees (SPL rail) to a recipient ATA.",
                "Authority: registered oracle wallet OR oracle profile admin OR governance."
            ],
            "discriminator": [242, 75, 247, 122, 255, 183, 48, 189],
            "accounts": [
                {
                    "name": "authority",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "liquidity_pool",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    108, 105, 113, 117, 105, 100, 105, 116, 121, 95, 112, 111,
                                    111, 108
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.reserve_domain",
                                "account": "LiquidityPool"
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.pool_id",
                                "account": "LiquidityPool"
                            }
                        ]
                    }
                },
                {
                    "name": "oracle_profile",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    111, 114, 97, 99, 108, 101, 95, 112, 114, 111, 102, 105, 108,
                                    101
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "oracle_profile.oracle",
                                "account": "OracleProfile"
                            }
                        ]
                    }
                },
                {
                    "name": "pool_oracle_fee_vault",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 111, 111, 108, 95, 111, 114, 97, 99, 108, 101, 95, 102,
                                    101, 101, 95, 118, 97, 117, 108, 116
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool"
                            },
                            {
                                "kind": "account",
                                "path": "pool_oracle_fee_vault.oracle",
                                "account": "PoolOracleFeeVault"
                            },
                            {
                                "kind": "account",
                                "path": "pool_oracle_fee_vault.asset_mint",
                                "account": "PoolOracleFeeVault"
                            }
                        ]
                    }
                },
                {
                    "name": "domain_asset_vault",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    118, 97, 117, 108, 116
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.reserve_domain",
                                "account": "LiquidityPool"
                            },
                            {
                                "kind": "account",
                                "path": "pool_oracle_fee_vault.asset_mint",
                                "account": "PoolOracleFeeVault"
                            }
                        ]
                    }
                },
                {
                    "name": "domain_asset_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.reserve_domain",
                                "account": "LiquidityPool"
                            },
                            {
                                "kind": "account",
                                "path": "pool_oracle_fee_vault.asset_mint",
                                "account": "PoolOracleFeeVault"
                            }
                        ]
                    }
                },
                {
                    "name": "asset_mint"
                },
                {
                    "name": "vault_token_account",
                    "writable": true
                },
                {
                    "name": "recipient_token_account",
                    "writable": true
                },
                {
                    "name": "token_program"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "WithdrawArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "withdraw_pool_treasury_sol",
            "docs": [
                "Sweep accrued pool-treasury fees (SOL rail).",
                "Authority: pool curator OR governance."
            ],
            "discriminator": [50, 115, 51, 120, 221, 37, 200, 169],
            "accounts": [
                {
                    "name": "authority",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "liquidity_pool",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    108, 105, 113, 117, 105, 100, 105, 116, 121, 95, 112, 111,
                                    111, 108
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.reserve_domain",
                                "account": "LiquidityPool"
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.pool_id",
                                "account": "LiquidityPool"
                            }
                        ]
                    }
                },
                {
                    "name": "pool_treasury_vault",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 111, 111, 108, 95, 116, 114, 101, 97, 115, 117, 114, 121,
                                    95, 118, 97, 117, 108, 116
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool"
                            },
                            {
                                "kind": "account",
                                "path": "pool_treasury_vault.asset_mint",
                                "account": "PoolTreasuryVault"
                            }
                        ]
                    }
                },
                {
                    "name": "recipient",
                    "writable": true
                },
                {
                    "name": "system_program",
                    "address": "11111111111111111111111111111111"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "WithdrawArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "withdraw_pool_treasury_spl",
            "docs": [
                "Sweep accrued pool-treasury fees (SPL rail).",
                "Authority: pool curator OR governance."
            ],
            "discriminator": [43, 146, 116, 123, 106, 69, 242, 104],
            "accounts": [
                {
                    "name": "authority",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "liquidity_pool",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    108, 105, 113, 117, 105, 100, 105, 116, 121, 95, 112, 111,
                                    111, 108
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.reserve_domain",
                                "account": "LiquidityPool"
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.pool_id",
                                "account": "LiquidityPool"
                            }
                        ]
                    }
                },
                {
                    "name": "pool_treasury_vault",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 111, 111, 108, 95, 116, 114, 101, 97, 115, 117, 114, 121,
                                    95, 118, 97, 117, 108, 116
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool"
                            },
                            {
                                "kind": "account",
                                "path": "pool_treasury_vault.asset_mint",
                                "account": "PoolTreasuryVault"
                            }
                        ]
                    }
                },
                {
                    "name": "domain_asset_vault",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    118, 97, 117, 108, 116
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.reserve_domain",
                                "account": "LiquidityPool"
                            },
                            {
                                "kind": "account",
                                "path": "pool_treasury_vault.asset_mint",
                                "account": "PoolTreasuryVault"
                            }
                        ]
                    }
                },
                {
                    "name": "domain_asset_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "liquidity_pool.reserve_domain",
                                "account": "LiquidityPool"
                            },
                            {
                                "kind": "account",
                                "path": "pool_treasury_vault.asset_mint",
                                "account": "PoolTreasuryVault"
                            }
                        ]
                    }
                },
                {
                    "name": "asset_mint"
                },
                {
                    "name": "vault_token_account",
                    "writable": true
                },
                {
                    "name": "recipient_token_account",
                    "writable": true
                },
                {
                    "name": "token_program"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "WithdrawArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "withdraw_protocol_fee_sol",
            "docs": [
                "Sweep accrued protocol fees (SOL rail) to a recipient system account.",
                "Authority: governance only. Lamports come straight off the fee-vault",
                "PDA; rent-exempt minimum is preserved."
            ],
            "discriminator": [193, 33, 140, 185, 45, 190, 112, 7],
            "accounts": [
                {
                    "name": "authority",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "reserve_domain",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    114, 101, 115, 101, 114, 118, 101, 95, 100, 111, 109, 97, 105,
                                    110
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "reserve_domain.domain_id",
                                "account": "ReserveDomain"
                            }
                        ]
                    }
                },
                {
                    "name": "protocol_fee_vault",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 102, 101, 101, 95,
                                    118, 97, 117, 108, 116
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "reserve_domain"
                            },
                            {
                                "kind": "account",
                                "path": "protocol_fee_vault.asset_mint",
                                "account": "ProtocolFeeVault"
                            }
                        ]
                    }
                },
                {
                    "name": "recipient",
                    "writable": true
                },
                {
                    "name": "system_program",
                    "address": "11111111111111111111111111111111"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "WithdrawArgs"
                        }
                    }
                }
            ]
        },
        {
            "name": "withdraw_protocol_fee_spl",
            "docs": [
                "Sweep accrued protocol fees (SPL rail) to a recipient ATA.",
                "Authority: governance only. Fees physically reside in the matching",
                "DomainAssetVault.vault_token_account; the CPI is PDA-signed via",
                "transfer_from_domain_vault."
            ],
            "discriminator": [120, 62, 236, 14, 227, 240, 52, 253],
            "accounts": [
                {
                    "name": "authority",
                    "signer": true
                },
                {
                    "name": "protocol_governance",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 103, 111, 118, 101,
                                    114, 110, 97, 110, 99, 101
                                ]
                            }
                        ]
                    }
                },
                {
                    "name": "reserve_domain",
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    114, 101, 115, 101, 114, 118, 101, 95, 100, 111, 109, 97, 105,
                                    110
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "reserve_domain.domain_id",
                                "account": "ReserveDomain"
                            }
                        ]
                    }
                },
                {
                    "name": "protocol_fee_vault",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    112, 114, 111, 116, 111, 99, 111, 108, 95, 102, 101, 101, 95,
                                    118, 97, 117, 108, 116
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "reserve_domain"
                            },
                            {
                                "kind": "account",
                                "path": "protocol_fee_vault.asset_mint",
                                "account": "ProtocolFeeVault"
                            }
                        ]
                    }
                },
                {
                    "name": "domain_asset_vault",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    118, 97, 117, 108, 116
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "reserve_domain"
                            },
                            {
                                "kind": "account",
                                "path": "protocol_fee_vault.asset_mint",
                                "account": "ProtocolFeeVault"
                            }
                        ]
                    }
                },
                {
                    "name": "domain_asset_ledger",
                    "writable": true,
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const",
                                "value": [
                                    100, 111, 109, 97, 105, 110, 95, 97, 115, 115, 101, 116, 95,
                                    108, 101, 100, 103, 101, 114
                                ]
                            },
                            {
                                "kind": "account",
                                "path": "reserve_domain"
                            },
                            {
                                "kind": "account",
                                "path": "protocol_fee_vault.asset_mint",
                                "account": "ProtocolFeeVault"
                            }
                        ]
                    }
                },
                {
                    "name": "asset_mint"
                },
                {
                    "name": "vault_token_account",
                    "writable": true
                },
                {
                    "name": "recipient_token_account",
                    "writable": true
                },
                {
                    "name": "token_program"
                }
            ],
            "args": [
                {
                    "name": "args",
                    "type": {
                        "defined": {
                            "name": "WithdrawArgs"
                        }
                    }
                }
            ]
        }
    ],
    "accounts": [
        {
            "name": "AllocationLedger",
            "discriminator": [53, 81, 62, 163, 68, 200, 187, 50]
        },
        {
            "name": "AllocationPosition",
            "discriminator": [243, 106, 252, 36, 249, 56, 227, 55]
        },
        {
            "name": "CapitalClass",
            "discriminator": [161, 52, 78, 54, 200, 103, 206, 252]
        },
        {
            "name": "ClaimAttestation",
            "discriminator": [93, 71, 134, 41, 234, 89, 150, 80]
        },
        {
            "name": "ClaimCase",
            "discriminator": [7, 178, 225, 1, 54, 47, 117, 180]
        },
        {
            "name": "DomainAssetLedger",
            "discriminator": [82, 42, 164, 106, 70, 160, 154, 99]
        },
        {
            "name": "DomainAssetVault",
            "discriminator": [105, 110, 75, 179, 247, 58, 135, 229]
        },
        {
            "name": "FundingLine",
            "discriminator": [112, 72, 52, 244, 254, 229, 217, 235]
        },
        {
            "name": "FundingLineLedger",
            "discriminator": [233, 46, 244, 60, 190, 65, 156, 68]
        },
        {
            "name": "HealthPlan",
            "discriminator": [66, 134, 136, 77, 63, 55, 103, 191]
        },
        {
            "name": "LPPosition",
            "discriminator": [196, 56, 115, 198, 14, 117, 32, 224]
        },
        {
            "name": "LiquidityPool",
            "discriminator": [66, 38, 17, 64, 188, 80, 68, 129]
        },
        {
            "name": "MemberPosition",
            "discriminator": [88, 118, 224, 251, 240, 186, 123, 175]
        },
        {
            "name": "MembershipAnchorSeat",
            "discriminator": [36, 200, 103, 9, 158, 27, 35, 104]
        },
        {
            "name": "Obligation",
            "discriminator": [168, 206, 141, 106, 88, 76, 172, 167]
        },
        {
            "name": "OracleProfile",
            "discriminator": [232, 217, 185, 162, 237, 208, 114, 142]
        },
        {
            "name": "OutcomeSchema",
            "discriminator": [243, 62, 72, 224, 198, 100, 29, 58]
        },
        {
            "name": "PlanReserveLedger",
            "discriminator": [243, 245, 230, 224, 27, 105, 48, 128]
        },
        {
            "name": "PolicySeries",
            "discriminator": [196, 117, 121, 249, 37, 71, 245, 23]
        },
        {
            "name": "PoolClassLedger",
            "discriminator": [147, 125, 17, 88, 188, 78, 109, 204]
        },
        {
            "name": "PoolOracleApproval",
            "discriminator": [116, 241, 25, 184, 205, 21, 153, 29]
        },
        {
            "name": "PoolOracleFeeVault",
            "discriminator": [167, 128, 29, 44, 248, 197, 244, 23]
        },
        {
            "name": "PoolOraclePermissionSet",
            "discriminator": [3, 136, 243, 231, 172, 143, 123, 245]
        },
        {
            "name": "PoolOraclePolicy",
            "discriminator": [246, 134, 133, 108, 100, 203, 226, 43]
        },
        {
            "name": "PoolTreasuryVault",
            "discriminator": [93, 195, 95, 29, 127, 28, 59, 193]
        },
        {
            "name": "ProtocolFeeVault",
            "discriminator": [199, 15, 107, 45, 108, 244, 162, 105]
        },
        {
            "name": "ProtocolGovernance",
            "discriminator": [71, 235, 253, 251, 202, 254, 132, 177]
        },
        {
            "name": "ReserveAssetRail",
            "discriminator": [48, 92, 233, 170, 158, 126, 122, 67]
        },
        {
            "name": "ReserveDomain",
            "discriminator": [119, 76, 223, 192, 177, 116, 88, 178]
        },
        {
            "name": "SchemaDependencyLedger",
            "discriminator": [87, 115, 211, 54, 36, 177, 77, 131]
        },
        {
            "name": "SeriesReserveLedger",
            "discriminator": [0, 109, 195, 30, 140, 79, 210, 234]
        }
    ],
    "events": [
        {
            "name": "AllocationUpdatedEvent",
            "discriminator": [158, 67, 83, 155, 181, 84, 246, 37]
        },
        {
            "name": "CapitalClassDepositEvent",
            "discriminator": [40, 60, 140, 213, 128, 24, 42, 251]
        },
        {
            "name": "ClaimCaseAttestedEvent",
            "discriminator": [27, 131, 74, 180, 134, 39, 214, 103]
        },
        {
            "name": "ClaimCaseSelectedAssetPayoutEvent",
            "discriminator": [15, 13, 219, 43, 68, 58, 135, 157]
        },
        {
            "name": "ClaimCaseStateChangedEvent",
            "discriminator": [162, 195, 160, 236, 219, 18, 240, 208]
        },
        {
            "name": "FeeAccruedEvent",
            "discriminator": [7, 169, 161, 187, 109, 43, 5, 157]
        },
        {
            "name": "FeeVaultInitializedEvent",
            "discriminator": [219, 138, 2, 184, 253, 99, 165, 51]
        },
        {
            "name": "FeeWithdrawnEvent",
            "discriminator": [206, 148, 200, 231, 65, 75, 11, 150]
        },
        {
            "name": "FundingFlowRecordedEvent",
            "discriminator": [207, 159, 154, 43, 193, 239, 239, 163]
        },
        {
            "name": "FundingLineOpenedEvent",
            "discriminator": [47, 172, 14, 218, 139, 94, 10, 145]
        },
        {
            "name": "HealthPlanCreatedEvent",
            "discriminator": [160, 200, 242, 77, 168, 222, 253, 22]
        },
        {
            "name": "ImpairmentRecordedEvent",
            "discriminator": [16, 0, 176, 178, 185, 80, 121, 39]
        },
        {
            "name": "LPPositionCredentialingUpdatedEvent",
            "discriminator": [215, 90, 105, 53, 22, 8, 19, 82]
        },
        {
            "name": "LedgerInitializedEvent",
            "discriminator": [155, 186, 165, 141, 70, 86, 207, 246]
        },
        {
            "name": "LiquidityPoolCreatedEvent",
            "discriminator": [176, 183, 7, 238, 193, 97, 177, 135]
        },
        {
            "name": "ObligationStatusChangedEvent",
            "discriminator": [173, 116, 84, 221, 225, 109, 198, 74]
        },
        {
            "name": "OracleProfileClaimedEvent",
            "discriminator": [150, 78, 246, 163, 63, 118, 75, 83]
        },
        {
            "name": "OracleProfileRegisteredEvent",
            "discriminator": [114, 97, 218, 155, 43, 175, 101, 227]
        },
        {
            "name": "OracleProfileUpdatedEvent",
            "discriminator": [187, 146, 36, 213, 31, 160, 208, 86]
        },
        {
            "name": "OutcomeSchemaClosedEvent",
            "discriminator": [16, 92, 224, 187, 114, 106, 105, 41]
        },
        {
            "name": "OutcomeSchemaRegisteredEvent",
            "discriminator": [243, 156, 15, 145, 167, 84, 187, 209]
        },
        {
            "name": "OutcomeSchemaStateChangedEvent",
            "discriminator": [79, 241, 101, 121, 94, 199, 61, 228]
        },
        {
            "name": "PolicySeriesCreatedEvent",
            "discriminator": [106, 212, 178, 224, 202, 185, 17, 157]
        },
        {
            "name": "PolicySeriesVersionedEvent",
            "discriminator": [37, 154, 96, 209, 46, 91, 162, 255]
        },
        {
            "name": "PoolOracleApprovalChangedEvent",
            "discriminator": [159, 43, 209, 60, 32, 191, 5, 136]
        },
        {
            "name": "PoolOraclePermissionsChangedEvent",
            "discriminator": [151, 96, 35, 111, 20, 154, 112, 211]
        },
        {
            "name": "PoolOraclePolicyChangedEvent",
            "discriminator": [142, 195, 149, 88, 218, 243, 91, 84]
        },
        {
            "name": "ProtocolGovernanceAuthorityRotatedEvent",
            "discriminator": [182, 225, 228, 198, 36, 195, 73, 212]
        },
        {
            "name": "ProtocolGovernanceAuthorityTransferCanceledEvent",
            "discriminator": [159, 189, 24, 31, 242, 105, 166, 146]
        },
        {
            "name": "ProtocolGovernanceAuthorityTransferProposedEvent",
            "discriminator": [255, 93, 25, 129, 137, 23, 184, 130]
        },
        {
            "name": "ProtocolGovernanceInitializedEvent",
            "discriminator": [89, 34, 67, 141, 79, 64, 188, 254]
        },
        {
            "name": "RedemptionRequestedEvent",
            "discriminator": [202, 47, 51, 231, 221, 144, 164, 57]
        },
        {
            "name": "ReserveAssetRailConfiguredEvent",
            "discriminator": [33, 112, 220, 210, 144, 2, 40, 234]
        },
        {
            "name": "ReserveAssetRailPricePublishedEvent",
            "discriminator": [161, 207, 64, 197, 138, 47, 213, 44]
        },
        {
            "name": "ReserveDomainCreatedEvent",
            "discriminator": [138, 101, 116, 228, 188, 195, 89, 37]
        },
        {
            "name": "SchemaDependencyLedgerUpdatedEvent",
            "discriminator": [159, 128, 141, 211, 86, 155, 144, 70]
        },
        {
            "name": "ScopedControlChangedEvent",
            "discriminator": [103, 133, 3, 156, 72, 49, 119, 157]
        }
    ],
    "errors": [
        {
            "code": 6000,
            "name": "Unauthorized",
            "msg": "Caller is not authorized for this scope"
        },
        {
            "code": 6001,
            "name": "InvalidGovernanceAuthority",
            "msg": "Governance authority is invalid"
        },
        {
            "code": 6002,
            "name": "GovernanceAuthorityTransferMissing",
            "msg": "Governance authority transfer is missing"
        },
        {
            "code": 6003,
            "name": "GovernanceAuthorityTransferExpired",
            "msg": "Governance authority transfer has expired"
        },
        {
            "code": 6004,
            "name": "ProtocolEmergencyPaused",
            "msg": "Protocol governance is emergency paused"
        },
        {
            "code": 6005,
            "name": "ReserveDomainInactive",
            "msg": "Reserve domain is inactive"
        },
        {
            "code": 6006,
            "name": "VaultTokenAccountInvalid",
            "msg": "Domain asset vault token account is missing or invalid"
        },
        {
            "code": 6007,
            "name": "HealthPlanPaused",
            "msg": "Health plan is paused"
        },
        {
            "code": 6008,
            "name": "ClaimIntakePaused",
            "msg": "Claim intake is paused"
        },
        {
            "code": 6009,
            "name": "CapitalSubscriptionsPaused",
            "msg": "Capital subscriptions are paused"
        },
        {
            "code": 6010,
            "name": "InvalidBps",
            "msg": "Invalid basis points value"
        },
        {
            "code": 6011,
            "name": "IdentifierTooLong",
            "msg": "Identifier length exceeds the canonical maximum"
        },
        {
            "code": 6012,
            "name": "HealthPlanMismatch",
            "msg": "Health plan mismatch"
        },
        {
            "code": 6013,
            "name": "PolicySeriesMismatch",
            "msg": "Policy series mismatch"
        },
        {
            "code": 6014,
            "name": "PolicySeriesMissing",
            "msg": "Policy series is missing where one is required"
        },
        {
            "code": 6015,
            "name": "SeriesLedgerUnexpected",
            "msg": "Unexpected series ledger was provided"
        },
        {
            "code": 6016,
            "name": "AssetMintMismatch",
            "msg": "Asset mint mismatch"
        },
        {
            "code": 6017,
            "name": "TokenAccountOwnerMismatch",
            "msg": "Source token account owner does not match the signer"
        },
        {
            "code": 6018,
            "name": "TokenAccountSelfTransferInvalid",
            "msg": "Source and vault token accounts must be different accounts"
        },
        {
            "code": 6019,
            "name": "VaultTokenAccountMismatch",
            "msg": "Vault token account does not match the domain asset vault"
        },
        {
            "code": 6020,
            "name": "Token2022NotSupported",
            "msg": "Token-2022 custody rails are not supported by this protocol version"
        },
        {
            "code": 6021,
            "name": "FeeRecipientInvalid",
            "msg": "Configured fee recipient is missing or invalid"
        },
        {
            "code": 6022,
            "name": "FeeRecipientMismatch",
            "msg": "Fee withdrawal recipient does not match the configured fee recipient"
        },
        {
            "code": 6023,
            "name": "FundingLineMismatch",
            "msg": "Funding line mismatch"
        },
        {
            "code": 6024,
            "name": "FundingLineTypeMismatch",
            "msg": "Funding line type mismatch"
        },
        {
            "code": 6025,
            "name": "ObligationMismatch",
            "msg": "Obligation account mismatch"
        },
        {
            "code": 6026,
            "name": "InvalidObligationStateTransition",
            "msg": "Invalid obligation state transition"
        },
        {
            "code": 6027,
            "name": "AmountExceedsOutstandingObligation",
            "msg": "Amount exceeds outstanding obligation"
        },
        {
            "code": 6028,
            "name": "AmountExceedsReservedBalance",
            "msg": "Amount exceeds reserved balance"
        },
        {
            "code": 6029,
            "name": "AmountExceedsApprovedClaim",
            "msg": "Amount exceeds approved claim"
        },
        {
            "code": 6030,
            "name": "AmountMustBePositive",
            "msg": "Amount must be greater than zero"
        },
        {
            "code": 6031,
            "name": "ClaimCaseLinkMismatch",
            "msg": "Claim case linkage mismatch"
        },
        {
            "code": 6032,
            "name": "LinkedClaimMustSettleThroughObligation",
            "msg": "Linked claims must settle through the obligation path"
        },
        {
            "code": 6033,
            "name": "AmountExceedsAvailableShares",
            "msg": "Amount exceeds available shares"
        },
        {
            "code": 6034,
            "name": "AmountExceedsPendingRedemption",
            "msg": "Amount exceeds pending redemption"
        },
        {
            "code": 6035,
            "name": "InvalidRedemptionAmount",
            "msg": "Redemption amount cannot be derived from the queued share state"
        },
        {
            "code": 6036,
            "name": "RedemptionQueueOutOfOrder",
            "msg": "Redemption request is not at the head of the FIFO queue"
        },
        {
            "code": 6037,
            "name": "InvalidCapitalShareState",
            "msg": "Deposit shares cannot be derived from the capital class NAV state"
        },
        {
            "code": 6038,
            "name": "InvalidDepositShares",
            "msg": "Deposit would mint zero shares"
        },
        {
            "code": 6039,
            "name": "MinimumSharesOutNotMet",
            "msg": "Computed deposit shares are below the requested minimum"
        },
        {
            "code": 6040,
            "name": "RestrictedCapitalClass",
            "msg": "Restricted capital class access failed"
        },
        {
            "code": 6041,
            "name": "CapitalClassMismatch",
            "msg": "Capital class ledger mismatch"
        },
        {
            "code": 6042,
            "name": "LPPositionHasActiveCapital",
            "msg": "LP position with active capital cannot be decredentialed"
        },
        {
            "code": 6043,
            "name": "LockupActive",
            "msg": "Capital class lockup is still active"
        },
        {
            "code": 6044,
            "name": "InvalidLockupSeconds",
            "msg": "Capital class lockup seconds cannot be negative"
        },
        {
            "code": 6045,
            "name": "AllocationCapExceeded",
            "msg": "Allocation cap exceeded"
        },
        {
            "code": 6046,
            "name": "AllocationPositionMismatch",
            "msg": "Allocation position mismatch"
        },
        {
            "code": 6047,
            "name": "AllocationAssetMismatch",
            "msg": "LP allocation asset mint must match the pool deposit asset mint"
        },
        {
            "code": 6048,
            "name": "InsufficientFreeAllocationCapacity",
            "msg": "Insufficient free allocation capacity"
        },
        {
            "code": 6049,
            "name": "InsufficientFreeReserveCapacity",
            "msg": "Insufficient free reserve capacity"
        },
        {
            "code": 6050,
            "name": "ArithmeticError",
            "msg": "Arithmetic overflow or underflow"
        },
        {
            "code": 6051,
            "name": "MembershipGateConfigurationInvalid",
            "msg": "Membership gate configuration is invalid"
        },
        {
            "code": 6052,
            "name": "MembershipProofModeMismatch",
            "msg": "Membership proof mode does not match the configured plan posture"
        },
        {
            "code": 6053,
            "name": "MembershipInviteAuthorityInvalid",
            "msg": "Invite authority is missing or invalid for this plan"
        },
        {
            "code": 6054,
            "name": "MembershipInvitePermitExpired",
            "msg": "Invite permit is expired"
        },
        {
            "code": 6055,
            "name": "MembershipTokenGateAccountMissing",
            "msg": "Token-gate proof account is missing"
        },
        {
            "code": 6056,
            "name": "MembershipTokenGateOwnerMismatch",
            "msg": "Token-gate proof account owner does not match the enrolling wallet"
        },
        {
            "code": 6057,
            "name": "MembershipTokenGateMintMismatch",
            "msg": "Token-gate proof account mint does not match the configured gate mint"
        },
        {
            "code": 6058,
            "name": "MembershipTokenGateAmountTooLow",
            "msg": "Token-gate proof amount is below the configured minimum"
        },
        {
            "code": 6059,
            "name": "MembershipAnchorSeatRequired",
            "msg": "Anchor-backed membership requires an anchor seat account"
        },
        {
            "code": 6060,
            "name": "MembershipAnchorSeatAlreadyActive",
            "msg": "Anchor-backed membership seat is already active"
        },
        {
            "code": 6061,
            "name": "MembershipAnchorSeatMismatch",
            "msg": "Anchor-backed membership seat does not match the provided anchor reference"
        },
        {
            "code": 6062,
            "name": "MembershipAnchorReferenceMissing",
            "msg": "Anchor-backed membership requires a non-zero anchor reference"
        },
        {
            "code": 6063,
            "name": "StringTooLong",
            "msg": "Bounded string field exceeds the canonical maximum"
        },
        {
            "code": 6064,
            "name": "InvalidOracleQuorum",
            "msg": "Oracle quorum configuration is invalid"
        },
        {
            "code": 6065,
            "name": "TooManyOracleSupportedSchemas",
            "msg": "Too many supported schema hashes were provided for one oracle profile"
        },
        {
            "code": 6066,
            "name": "PoolOracleApprovalRequired",
            "msg": "Pool oracle approval is required before permissions can be granted"
        },
        {
            "code": 6067,
            "name": "PoolOraclePermissionRequired",
            "msg": "Pool oracle permission is required for this claim attestation"
        },
        {
            "code": 6068,
            "name": "OracleProfileInactive",
            "msg": "Oracle profile is inactive"
        },
        {
            "code": 6069,
            "name": "OracleProfileUnclaimed",
            "msg": "Oracle profile has not been claimed by its signing key"
        },
        {
            "code": 6070,
            "name": "InvalidClaimAttestationDecision",
            "msg": "Claim attestation decision is not a recognized value"
        },
        {
            "code": 6071,
            "name": "ClaimAttestationSchemaRequired",
            "msg": "Claim attestation must reference a registered schema key hash"
        },
        {
            "code": 6072,
            "name": "ClaimAttestationSchemaUnsupported",
            "msg": "Oracle profile does not advertise support for the selected claim-attestation schema"
        },
        {
            "code": 6073,
            "name": "OutcomeSchemaUnverified",
            "msg": "Claim attestation schema must be governance verified"
        },
        {
            "code": 6074,
            "name": "ClaimEvidenceRequired",
            "msg": "Claim attestation requires a locked evidence reference"
        },
        {
            "code": 6075,
            "name": "ClaimEvidenceMismatch",
            "msg": "Claim attestation evidence reference does not match the claim case"
        },
        {
            "code": 6076,
            "name": "ClaimEvidenceLocked",
            "msg": "Claim evidence cannot be changed after attestations begin"
        },
        {
            "code": 6077,
            "name": "ClaimRecipientLocked",
            "msg": "Claim settlement recipient is locked after approval or payout"
        },
        {
            "code": 6078,
            "name": "OracleFinalityHeld",
            "msg": "Health plan has paused oracle finality"
        },
        {
            "code": 6079,
            "name": "TooManySchemaDependencies",
            "msg": "Too many schema dependency addresses were provided"
        },
        {
            "code": 6080,
            "name": "DomainAssetVaultRequired",
            "msg": "Fee vault initialization requires the matching domain asset vault to exist"
        },
        {
            "code": 6081,
            "name": "LiquidityPoolMismatch",
            "msg": "Liquidity pool reference does not match the supplied account"
        },
        {
            "code": 6082,
            "name": "OracleProfileMismatch",
            "msg": "Oracle profile reference does not match the supplied account"
        },
        {
            "code": 6083,
            "name": "FeeVaultMismatch",
            "msg": "Fee vault account does not match the expected scope"
        },
        {
            "code": 6084,
            "name": "FeeVaultInsufficientBalance",
            "msg": "Fee vault has insufficient accrued balance for this withdrawal"
        },
        {
            "code": 6085,
            "name": "FeeVaultRentExemptionBreach",
            "msg": "Fee vault withdrawal would breach the rent-exempt minimum balance"
        },
        {
            "code": 6086,
            "name": "FeeVaultRailMismatch",
            "msg": "Fee vault rail and asset mint disagree (SOL vault used on SPL path or vice versa)"
        },
        {
            "code": 6087,
            "name": "FeeVaultBpsMisconfigured",
            "msg": "Fee vault basis-points configuration is out of range"
        },
        {
            "code": 6088,
            "name": "SettlementOutflowAccountsRequired",
            "msg": "Linked claim settlement requires the member, mint, vault token, recipient token, and token program accounts"
        },
        {
            "code": 6089,
            "name": "FeeVaultRequiredForConfiguredFee",
            "msg": "Configured fee basis points require the matching fee vault account"
        },
        {
            "code": 6090,
            "name": "ClaimAttestationRequiredForOracleFee",
            "msg": "Oracle fee accrual requires a matching claim attestation account"
        },
        {
            "code": 6091,
            "name": "InsufficientStableCoverageCapacity",
            "msg": "Stable coverage capacity is insufficient"
        },
        {
            "code": 6092,
            "name": "InvalidReserveAssetRole",
            "msg": "Reserve asset role is invalid"
        },
        {
            "code": 6093,
            "name": "InvalidReserveOracleSource",
            "msg": "Reserve asset oracle source is invalid"
        },
        {
            "code": 6094,
            "name": "ReserveAssetRailMismatch",
            "msg": "Reserve asset rail mismatch"
        },
        {
            "code": 6095,
            "name": "ReserveDomainMismatch",
            "msg": "Reserve domain mismatch"
        },
        {
            "code": 6096,
            "name": "ReserveAssetRailInactive",
            "msg": "Reserve asset rail is inactive"
        },
        {
            "code": 6097,
            "name": "ReserveAssetRailPayoutDisabled",
            "msg": "Reserve asset rail does not allow claims payout"
        },
        {
            "code": 6098,
            "name": "ReserveAssetRailCapacityDisabled",
            "msg": "Reserve asset rail cannot count toward claims capacity"
        },
        {
            "code": 6099,
            "name": "ReserveAssetPriceStale",
            "msg": "Reserve asset oracle price is stale or missing"
        },
        {
            "code": 6100,
            "name": "ReserveAssetPriceInvalid",
            "msg": "Reserve asset oracle price is invalid"
        },
        {
            "code": 6101,
            "name": "ReserveAssetPriceConfidenceTooWide",
            "msg": "Reserve asset oracle price confidence exceeds rail threshold"
        },
        {
            "code": 6102,
            "name": "PartialObligationTransitionUnsupported",
            "msg": "Partial obligation lifecycle transitions are not supported"
        },
        {
            "code": 6103,
            "name": "InvalidObligationDeliveryMode",
            "msg": "Invalid obligation delivery mode"
        },
        {
            "code": 6104,
            "name": "ClaimAdjudicationLocked",
            "msg": "Claim adjudication is locked after payout or terminal state"
        },
        {
            "code": 6105,
            "name": "SelectedAssetPayoutSameMint",
            "msg": "Selected-asset claim payout must use a different mint from the claim denomination"
        },
        {
            "code": 6106,
            "name": "SelectedAssetPayoutUnderpaid",
            "msg": "Selected-asset claim payout value is below the credited claim amount"
        },
        {
            "code": 6107,
            "name": "SelectedAssetPayoutOverpaid",
            "msg": "Selected-asset claim payout value exceeds the configured overpay tolerance"
        },
        {
            "code": 6108,
            "name": "SelectedAssetOverpayBpsTooHigh",
            "msg": "Selected-asset claim payout overpay bps exceeds the protocol maximum"
        },
        {
            "code": 6109,
            "name": "ReserveAssetMintDecimalsUnsupported",
            "msg": "Reserve asset mint decimals are unsupported"
        },
        {
            "code": 6110,
            "name": "HealthPlanInactive",
            "msg": "Health plan is inactive"
        },
        {
            "code": 6111,
            "name": "CapitalClassInactive",
            "msg": "Capital class is inactive"
        },
        {
            "code": 6112,
            "name": "DirectClaimReserveUnsupported",
            "msg": "Direct claim reserves require linked obligation settlement"
        },
        {
            "code": 6113,
            "name": "LiquidityPoolInactive",
            "msg": "Liquidity pool is inactive"
        },
        {
            "code": 6114,
            "name": "AllocationPositionInactive",
            "msg": "Allocation position is inactive or deallocation-only"
        }
    ],
    "types": [
        {
            "name": "AdjudicateClaimCaseArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "review_state",
                        "type": "u8"
                    },
                    {
                        "name": "approved_amount",
                        "type": "u64"
                    },
                    {
                        "name": "denied_amount",
                        "type": "u64"
                    },
                    {
                        "name": "reserve_amount",
                        "type": "u64"
                    },
                    {
                        "name": "decision_support_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    }
                ]
            }
        },
        {
            "name": "AllocateCapitalArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "amount",
                        "type": "u64"
                    }
                ]
            }
        },
        {
            "name": "AllocationLedger",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "allocation_position",
                        "type": "pubkey"
                    },
                    {
                        "name": "asset_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "sheet",
                        "type": {
                            "defined": {
                                "name": "ReserveBalanceSheet"
                            }
                        }
                    },
                    {
                        "name": "realized_pnl",
                        "type": "i64"
                    },
                    {
                        "name": "bump",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "AllocationPosition",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "reserve_domain",
                        "type": "pubkey"
                    },
                    {
                        "name": "liquidity_pool",
                        "type": "pubkey"
                    },
                    {
                        "name": "capital_class",
                        "type": "pubkey"
                    },
                    {
                        "name": "health_plan",
                        "type": "pubkey"
                    },
                    {
                        "name": "policy_series",
                        "type": "pubkey"
                    },
                    {
                        "name": "funding_line",
                        "type": "pubkey"
                    },
                    {
                        "name": "cap_amount",
                        "type": "u64"
                    },
                    {
                        "name": "weight_bps",
                        "type": "u16"
                    },
                    {
                        "name": "allocation_mode",
                        "type": "u8"
                    },
                    {
                        "name": "allocated_amount",
                        "type": "u64"
                    },
                    {
                        "name": "utilized_amount",
                        "type": "u64"
                    },
                    {
                        "name": "reserved_capacity",
                        "type": "u64"
                    },
                    {
                        "name": "realized_pnl",
                        "type": "i64"
                    },
                    {
                        "name": "impaired_amount",
                        "type": "u64"
                    },
                    {
                        "name": "deallocation_only",
                        "type": "bool"
                    },
                    {
                        "name": "active",
                        "type": "bool"
                    },
                    {
                        "name": "bump",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "AllocationUpdatedEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "allocation_position",
                        "type": "pubkey"
                    },
                    {
                        "name": "capital_class",
                        "type": "pubkey"
                    },
                    {
                        "name": "funding_line",
                        "type": "pubkey"
                    },
                    {
                        "name": "allocated_amount",
                        "type": "u64"
                    },
                    {
                        "name": "reserved_capacity",
                        "type": "u64"
                    }
                ]
            }
        },
        {
            "name": "AttachClaimEvidenceRefArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "evidence_ref_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "decision_support_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    }
                ]
            }
        },
        {
            "name": "AttestClaimCaseArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "decision",
                        "type": "u8"
                    },
                    {
                        "name": "attestation_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "attestation_ref_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "schema_key_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    }
                ]
            }
        },
        {
            "name": "AuthorizeClaimRecipientArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "delegate_recipient",
                        "type": "pubkey"
                    }
                ]
            }
        },
        {
            "name": "BackfillSchemaDependencyLedgerArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "schema_key_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "pool_rule_addresses",
                        "type": {
                            "vec": "pubkey"
                        }
                    }
                ]
            }
        },
        {
            "name": "CapitalClass",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "reserve_domain",
                        "type": "pubkey"
                    },
                    {
                        "name": "liquidity_pool",
                        "type": "pubkey"
                    },
                    {
                        "name": "share_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "class_id",
                        "type": "string"
                    },
                    {
                        "name": "display_name",
                        "type": "string"
                    },
                    {
                        "name": "priority",
                        "type": "u8"
                    },
                    {
                        "name": "impairment_rank",
                        "type": "u8"
                    },
                    {
                        "name": "restriction_mode",
                        "type": "u8"
                    },
                    {
                        "name": "redemption_terms_mode",
                        "type": "u8"
                    },
                    {
                        "name": "wrapper_metadata_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "permissioning_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "fee_bps",
                        "type": "u16"
                    },
                    {
                        "name": "min_lockup_seconds",
                        "type": "i64"
                    },
                    {
                        "name": "pause_flags",
                        "type": "u32"
                    },
                    {
                        "name": "queue_only_redemptions",
                        "type": "bool"
                    },
                    {
                        "name": "total_shares",
                        "type": "u64"
                    },
                    {
                        "name": "nav_assets",
                        "type": "u64"
                    },
                    {
                        "name": "allocated_assets",
                        "type": "u64"
                    },
                    {
                        "name": "reserved_assets",
                        "type": "u64"
                    },
                    {
                        "name": "impaired_assets",
                        "type": "u64"
                    },
                    {
                        "name": "pending_redemptions",
                        "type": "u64"
                    },
                    {
                        "name": "next_redemption_sequence",
                        "type": "u64"
                    },
                    {
                        "name": "next_redemption_to_process",
                        "type": "u64"
                    },
                    {
                        "name": "active",
                        "type": "bool"
                    },
                    {
                        "name": "bump",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "CapitalClassDepositEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "capital_class",
                        "type": "pubkey"
                    },
                    {
                        "name": "owner",
                        "type": "pubkey"
                    },
                    {
                        "name": "asset_amount",
                        "type": "u64"
                    },
                    {
                        "name": "shares",
                        "type": "u64"
                    }
                ]
            }
        },
        {
            "name": "ClaimAttestation",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "oracle",
                        "type": "pubkey"
                    },
                    {
                        "name": "oracle_profile",
                        "type": "pubkey"
                    },
                    {
                        "name": "claim_case",
                        "type": "pubkey"
                    },
                    {
                        "name": "health_plan",
                        "type": "pubkey"
                    },
                    {
                        "name": "policy_series",
                        "type": "pubkey"
                    },
                    {
                        "name": "decision",
                        "type": "u8"
                    },
                    {
                        "name": "attestation_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "attestation_ref_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "evidence_ref_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "decision_support_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "schema_key_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "schema_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "schema_version",
                        "type": "u16"
                    },
                    {
                        "name": "liquidity_pool",
                        "type": "pubkey"
                    },
                    {
                        "name": "allocation_position",
                        "type": "pubkey"
                    },
                    {
                        "name": "created_at_ts",
                        "type": "i64"
                    },
                    {
                        "name": "updated_at_ts",
                        "type": "i64"
                    },
                    {
                        "name": "bump",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "ClaimCase",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "reserve_domain",
                        "type": "pubkey"
                    },
                    {
                        "name": "health_plan",
                        "type": "pubkey"
                    },
                    {
                        "name": "policy_series",
                        "type": "pubkey"
                    },
                    {
                        "name": "member_position",
                        "type": "pubkey"
                    },
                    {
                        "name": "funding_line",
                        "type": "pubkey"
                    },
                    {
                        "name": "asset_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "claim_id",
                        "type": "string"
                    },
                    {
                        "name": "claimant",
                        "type": "pubkey"
                    },
                    {
                        "name": "adjudicator",
                        "type": "pubkey"
                    },
                    {
                        "name": "delegate_recipient",
                        "type": "pubkey"
                    },
                    {
                        "name": "evidence_ref_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "decision_support_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "intake_status",
                        "type": "u8"
                    },
                    {
                        "name": "review_state",
                        "type": "u8"
                    },
                    {
                        "name": "approved_amount",
                        "type": "u64"
                    },
                    {
                        "name": "denied_amount",
                        "type": "u64"
                    },
                    {
                        "name": "paid_amount",
                        "type": "u64"
                    },
                    {
                        "name": "reserved_amount",
                        "type": "u64"
                    },
                    {
                        "name": "recovered_amount",
                        "type": "u64"
                    },
                    {
                        "name": "appeal_count",
                        "type": "u16"
                    },
                    {
                        "name": "attestation_count",
                        "type": "u16"
                    },
                    {
                        "name": "linked_obligation",
                        "type": "pubkey"
                    },
                    {
                        "name": "opened_at",
                        "type": "i64"
                    },
                    {
                        "name": "updated_at",
                        "type": "i64"
                    },
                    {
                        "name": "closed_at",
                        "type": "i64"
                    },
                    {
                        "name": "bump",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "ClaimCaseAttestedEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "claim_attestation",
                        "type": "pubkey"
                    },
                    {
                        "name": "claim_case",
                        "type": "pubkey"
                    },
                    {
                        "name": "oracle_profile",
                        "type": "pubkey"
                    },
                    {
                        "name": "oracle",
                        "type": "pubkey"
                    },
                    {
                        "name": "decision",
                        "type": "u8"
                    },
                    {
                        "name": "attestation_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    }
                ]
            }
        },
        {
            "name": "ClaimCaseSelectedAssetPayoutEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "claim_case",
                        "type": "pubkey"
                    },
                    {
                        "name": "claim_asset_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "payout_asset_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "claim_credit_amount",
                        "type": "u64"
                    },
                    {
                        "name": "payout_amount",
                        "type": "u64"
                    },
                    {
                        "name": "settlement_reason_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    }
                ]
            }
        },
        {
            "name": "ClaimCaseStateChangedEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "claim_case",
                        "type": "pubkey"
                    },
                    {
                        "name": "intake_status",
                        "type": "u8"
                    },
                    {
                        "name": "approved_amount",
                        "type": "u64"
                    }
                ]
            }
        },
        {
            "name": "ConfigureReserveAssetRailArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "asset_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "oracle_authority",
                        "type": "pubkey"
                    },
                    {
                        "name": "asset_symbol",
                        "type": "string"
                    },
                    {
                        "name": "role",
                        "type": "u8"
                    },
                    {
                        "name": "payout_priority",
                        "type": "u8"
                    },
                    {
                        "name": "oracle_source",
                        "type": "u8"
                    },
                    {
                        "name": "oracle_feed_id",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "max_staleness_seconds",
                        "type": "i64"
                    },
                    {
                        "name": "max_confidence_bps",
                        "type": "u16"
                    },
                    {
                        "name": "haircut_bps",
                        "type": "u16"
                    },
                    {
                        "name": "max_exposure_bps",
                        "type": "u16"
                    },
                    {
                        "name": "deposit_enabled",
                        "type": "bool"
                    },
                    {
                        "name": "payout_enabled",
                        "type": "bool"
                    },
                    {
                        "name": "capacity_enabled",
                        "type": "bool"
                    },
                    {
                        "name": "active",
                        "type": "bool"
                    },
                    {
                        "name": "reason_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    }
                ]
            }
        },
        {
            "name": "CreateAllocationPositionArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "policy_series",
                        "type": "pubkey"
                    },
                    {
                        "name": "cap_amount",
                        "type": "u64"
                    },
                    {
                        "name": "weight_bps",
                        "type": "u16"
                    },
                    {
                        "name": "allocation_mode",
                        "type": "u8"
                    },
                    {
                        "name": "deallocation_only",
                        "type": "bool"
                    }
                ]
            }
        },
        {
            "name": "CreateCapitalClassArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "class_id",
                        "type": "string"
                    },
                    {
                        "name": "display_name",
                        "type": "string"
                    },
                    {
                        "name": "share_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "priority",
                        "type": "u8"
                    },
                    {
                        "name": "impairment_rank",
                        "type": "u8"
                    },
                    {
                        "name": "restriction_mode",
                        "type": "u8"
                    },
                    {
                        "name": "redemption_terms_mode",
                        "type": "u8"
                    },
                    {
                        "name": "wrapper_metadata_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "permissioning_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "fee_bps",
                        "type": "u16"
                    },
                    {
                        "name": "min_lockup_seconds",
                        "type": "i64"
                    },
                    {
                        "name": "pause_flags",
                        "type": "u32"
                    }
                ]
            }
        },
        {
            "name": "CreateDomainAssetVaultArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "asset_mint",
                        "type": "pubkey"
                    }
                ]
            }
        },
        {
            "name": "CreateHealthPlanArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "plan_id",
                        "type": "string"
                    },
                    {
                        "name": "display_name",
                        "type": "string"
                    },
                    {
                        "name": "organization_ref",
                        "type": "string"
                    },
                    {
                        "name": "metadata_uri",
                        "type": "string"
                    },
                    {
                        "name": "sponsor",
                        "type": "pubkey"
                    },
                    {
                        "name": "sponsor_operator",
                        "type": "pubkey"
                    },
                    {
                        "name": "claims_operator",
                        "type": "pubkey"
                    },
                    {
                        "name": "oracle_authority",
                        "type": "pubkey"
                    },
                    {
                        "name": "membership_mode",
                        "type": "u8"
                    },
                    {
                        "name": "membership_gate_kind",
                        "type": "u8"
                    },
                    {
                        "name": "membership_gate_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "membership_gate_min_amount",
                        "type": "u64"
                    },
                    {
                        "name": "membership_invite_authority",
                        "type": "pubkey"
                    },
                    {
                        "name": "allowed_rail_mask",
                        "type": "u16"
                    },
                    {
                        "name": "default_funding_priority",
                        "type": "u8"
                    },
                    {
                        "name": "oracle_policy_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "schema_binding_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "compliance_baseline_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "pause_flags",
                        "type": "u32"
                    }
                ]
            }
        },
        {
            "name": "CreateLiquidityPoolArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "pool_id",
                        "type": "string"
                    },
                    {
                        "name": "display_name",
                        "type": "string"
                    },
                    {
                        "name": "curator",
                        "type": "pubkey"
                    },
                    {
                        "name": "allocator",
                        "type": "pubkey"
                    },
                    {
                        "name": "sentinel",
                        "type": "pubkey"
                    },
                    {
                        "name": "deposit_asset_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "strategy_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "allowed_exposure_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "external_yield_adapter_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "fee_bps",
                        "type": "u16"
                    },
                    {
                        "name": "redemption_policy",
                        "type": "u8"
                    },
                    {
                        "name": "pause_flags",
                        "type": "u32"
                    }
                ]
            }
        },
        {
            "name": "CreateObligationArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "obligation_id",
                        "type": "string"
                    },
                    {
                        "name": "asset_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "policy_series",
                        "type": "pubkey"
                    },
                    {
                        "name": "member_wallet",
                        "type": "pubkey"
                    },
                    {
                        "name": "beneficiary",
                        "type": "pubkey"
                    },
                    {
                        "name": "claim_case",
                        "type": "pubkey"
                    },
                    {
                        "name": "liquidity_pool",
                        "type": "pubkey"
                    },
                    {
                        "name": "capital_class",
                        "type": "pubkey"
                    },
                    {
                        "name": "allocation_position",
                        "type": "pubkey"
                    },
                    {
                        "name": "delivery_mode",
                        "type": "u8"
                    },
                    {
                        "name": "amount",
                        "type": "u64"
                    },
                    {
                        "name": "creation_reason_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    }
                ]
            }
        },
        {
            "name": "CreatePolicySeriesArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "series_id",
                        "type": "string"
                    },
                    {
                        "name": "display_name",
                        "type": "string"
                    },
                    {
                        "name": "metadata_uri",
                        "type": "string"
                    },
                    {
                        "name": "asset_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "mode",
                        "type": "u8"
                    },
                    {
                        "name": "status",
                        "type": "u8"
                    },
                    {
                        "name": "adjudication_mode",
                        "type": "u8"
                    },
                    {
                        "name": "terms_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "pricing_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "payout_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "reserve_model_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "evidence_requirements_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "comparability_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "policy_overrides_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "cycle_seconds",
                        "type": "i64"
                    },
                    {
                        "name": "terms_version",
                        "type": "u16"
                    }
                ]
            }
        },
        {
            "name": "CreateReserveDomainArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "domain_id",
                        "type": "string"
                    },
                    {
                        "name": "display_name",
                        "type": "string"
                    },
                    {
                        "name": "domain_admin",
                        "type": "pubkey"
                    },
                    {
                        "name": "settlement_mode",
                        "type": "u8"
                    },
                    {
                        "name": "legal_structure_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "compliance_baseline_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "allowed_rail_mask",
                        "type": "u16"
                    },
                    {
                        "name": "pause_flags",
                        "type": "u32"
                    }
                ]
            }
        },
        {
            "name": "DeallocateCapitalArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "amount",
                        "type": "u64"
                    }
                ]
            }
        },
        {
            "name": "DepositIntoCapitalClassArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "amount",
                        "type": "u64"
                    },
                    {
                        "name": "shares",
                        "docs": [
                            "Minimum accepted shares out; zero means accept the program-derived",
                            "NAV share price with no minimum."
                        ],
                        "type": "u64"
                    }
                ]
            }
        },
        {
            "name": "DomainAssetLedger",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "reserve_domain",
                        "type": "pubkey"
                    },
                    {
                        "name": "asset_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "sheet",
                        "type": {
                            "defined": {
                                "name": "ReserveBalanceSheet"
                            }
                        }
                    },
                    {
                        "name": "bump",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "DomainAssetVault",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "reserve_domain",
                        "type": "pubkey"
                    },
                    {
                        "name": "asset_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "vault_token_account",
                        "type": "pubkey"
                    },
                    {
                        "name": "total_assets",
                        "type": "u64"
                    },
                    {
                        "name": "bump",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "FeeAccruedEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "vault",
                        "type": "pubkey"
                    },
                    {
                        "name": "asset_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "amount",
                        "type": "u64"
                    },
                    {
                        "name": "accrued_total",
                        "type": "u64"
                    }
                ]
            }
        },
        {
            "name": "FeeVaultInitializedEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "vault",
                        "type": "pubkey"
                    },
                    {
                        "name": "scope",
                        "type": "pubkey"
                    },
                    {
                        "name": "asset_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "fee_recipient",
                        "type": "pubkey"
                    },
                    {
                        "name": "rail",
                        "docs": [
                            "0 = ProtocolFeeVault, 1 = PoolTreasuryVault, 2 = PoolOracleFeeVault."
                        ],
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "FeeWithdrawnEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "vault",
                        "type": "pubkey"
                    },
                    {
                        "name": "asset_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "amount",
                        "type": "u64"
                    },
                    {
                        "name": "configured_recipient",
                        "type": "pubkey"
                    },
                    {
                        "name": "recipient",
                        "type": "pubkey"
                    },
                    {
                        "name": "withdrawn_total",
                        "type": "u64"
                    }
                ]
            }
        },
        {
            "name": "FundSponsorBudgetArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "amount",
                        "type": "u64"
                    }
                ]
            }
        },
        {
            "name": "FundingFlowRecordedEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "funding_line",
                        "type": "pubkey"
                    },
                    {
                        "name": "amount",
                        "type": "u64"
                    },
                    {
                        "name": "flow_kind",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "FundingLine",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "reserve_domain",
                        "type": "pubkey"
                    },
                    {
                        "name": "health_plan",
                        "type": "pubkey"
                    },
                    {
                        "name": "policy_series",
                        "type": "pubkey"
                    },
                    {
                        "name": "asset_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "line_id",
                        "type": "string"
                    },
                    {
                        "name": "line_type",
                        "type": "u8"
                    },
                    {
                        "name": "funding_priority",
                        "type": "u8"
                    },
                    {
                        "name": "committed_amount",
                        "type": "u64"
                    },
                    {
                        "name": "funded_amount",
                        "type": "u64"
                    },
                    {
                        "name": "reserved_amount",
                        "type": "u64"
                    },
                    {
                        "name": "spent_amount",
                        "type": "u64"
                    },
                    {
                        "name": "released_amount",
                        "type": "u64"
                    },
                    {
                        "name": "returned_amount",
                        "type": "u64"
                    },
                    {
                        "name": "status",
                        "type": "u8"
                    },
                    {
                        "name": "caps_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "bump",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "FundingLineLedger",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "funding_line",
                        "type": "pubkey"
                    },
                    {
                        "name": "asset_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "sheet",
                        "type": {
                            "defined": {
                                "name": "ReserveBalanceSheet"
                            }
                        }
                    },
                    {
                        "name": "bump",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "FundingLineOpenedEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "health_plan",
                        "type": "pubkey"
                    },
                    {
                        "name": "funding_line",
                        "type": "pubkey"
                    },
                    {
                        "name": "asset_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "line_type",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "HealthPlan",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "reserve_domain",
                        "type": "pubkey"
                    },
                    {
                        "name": "sponsor",
                        "type": "pubkey"
                    },
                    {
                        "name": "plan_admin",
                        "type": "pubkey"
                    },
                    {
                        "name": "sponsor_operator",
                        "type": "pubkey"
                    },
                    {
                        "name": "claims_operator",
                        "type": "pubkey"
                    },
                    {
                        "name": "oracle_authority",
                        "type": "pubkey"
                    },
                    {
                        "name": "health_plan_id",
                        "type": "string"
                    },
                    {
                        "name": "display_name",
                        "type": "string"
                    },
                    {
                        "name": "organization_ref",
                        "type": "string"
                    },
                    {
                        "name": "metadata_uri",
                        "type": "string"
                    },
                    {
                        "name": "membership_mode",
                        "type": "u8"
                    },
                    {
                        "name": "membership_gate_kind",
                        "type": "u8"
                    },
                    {
                        "name": "membership_gate_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "membership_gate_min_amount",
                        "type": "u64"
                    },
                    {
                        "name": "membership_invite_authority",
                        "type": "pubkey"
                    },
                    {
                        "name": "allowed_rail_mask",
                        "type": "u16"
                    },
                    {
                        "name": "default_funding_priority",
                        "type": "u8"
                    },
                    {
                        "name": "oracle_policy_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "schema_binding_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "compliance_baseline_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "pause_flags",
                        "type": "u32"
                    },
                    {
                        "name": "active",
                        "type": "bool"
                    },
                    {
                        "name": "audit_nonce",
                        "type": "u64"
                    },
                    {
                        "name": "bump",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "HealthPlanCreatedEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "reserve_domain",
                        "type": "pubkey"
                    },
                    {
                        "name": "health_plan",
                        "type": "pubkey"
                    },
                    {
                        "name": "sponsor",
                        "type": "pubkey"
                    }
                ]
            }
        },
        {
            "name": "ImpairmentRecordedEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "funding_line",
                        "type": "pubkey"
                    },
                    {
                        "name": "obligation",
                        "type": "pubkey"
                    },
                    {
                        "name": "amount",
                        "type": "u64"
                    },
                    {
                        "name": "reason_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    }
                ]
            }
        },
        {
            "name": "InitPoolOracleFeeVaultArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "oracle",
                        "docs": [
                            "Oracle wallet whose fee vault is being initialized. Must match",
                            "`oracle_profile.oracle` and have an active `PoolOracleApproval` on the pool."
                        ],
                        "type": "pubkey"
                    },
                    {
                        "name": "asset_mint",
                        "docs": ["Asset mint of the rail (use `NATIVE_SOL_MINT` for SOL)."],
                        "type": "pubkey"
                    },
                    {
                        "name": "fee_recipient",
                        "docs": ["Configured recipient owner for this oracle-fee rail."],
                        "type": "pubkey"
                    }
                ]
            }
        },
        {
            "name": "InitPoolTreasuryVaultArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "asset_mint",
                        "docs": [
                            "Asset mint must equal `liquidity_pool.deposit_asset_mint` for SPL pools, or",
                            "`NATIVE_SOL_MINT` for the SOL rail."
                        ],
                        "type": "pubkey"
                    },
                    {
                        "name": "fee_recipient",
                        "docs": ["Configured recipient owner for this rail."],
                        "type": "pubkey"
                    }
                ]
            }
        },
        {
            "name": "InitProtocolFeeVaultArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "asset_mint",
                        "docs": [
                            "SPL mint for the fee rail. Pass `NATIVE_SOL_MINT` to bind a SOL-rail vault."
                        ],
                        "type": "pubkey"
                    },
                    {
                        "name": "fee_recipient",
                        "docs": [
                            "Configured recipient owner for this rail. SOL withdraws must pay this",
                            "address directly; SPL withdraws must pay a token account owned by it."
                        ],
                        "type": "pubkey"
                    }
                ]
            }
        },
        {
            "name": "InitializeProtocolGovernanceArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "protocol_fee_bps",
                        "type": "u16"
                    },
                    {
                        "name": "emergency_pause",
                        "type": "bool"
                    }
                ]
            }
        },
        {
            "name": "InitializeSeriesReserveLedgerArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "asset_mint",
                        "type": "pubkey"
                    }
                ]
            }
        },
        {
            "name": "LPPosition",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "capital_class",
                        "type": "pubkey"
                    },
                    {
                        "name": "owner",
                        "type": "pubkey"
                    },
                    {
                        "name": "shares",
                        "type": "u64"
                    },
                    {
                        "name": "subscription_basis",
                        "type": "u64"
                    },
                    {
                        "name": "pending_redemption_shares",
                        "type": "u64"
                    },
                    {
                        "name": "pending_redemption_assets",
                        "type": "u64"
                    },
                    {
                        "name": "realized_distributions",
                        "type": "u64"
                    },
                    {
                        "name": "impaired_principal",
                        "type": "u64"
                    },
                    {
                        "name": "lockup_ends_at",
                        "type": "i64"
                    },
                    {
                        "name": "credentialed",
                        "type": "bool"
                    },
                    {
                        "name": "queue_status",
                        "type": "u8"
                    },
                    {
                        "name": "redemption_sequence",
                        "type": "u64"
                    },
                    {
                        "name": "redemption_requested_at",
                        "type": "i64"
                    },
                    {
                        "name": "bump",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "LPPositionCredentialingUpdatedEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "capital_class",
                        "type": "pubkey"
                    },
                    {
                        "name": "owner",
                        "type": "pubkey"
                    },
                    {
                        "name": "authority",
                        "type": "pubkey"
                    },
                    {
                        "name": "credentialed",
                        "type": "bool"
                    },
                    {
                        "name": "reason_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    }
                ]
            }
        },
        {
            "name": "LedgerInitializedEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "scope_kind",
                        "type": "u8"
                    },
                    {
                        "name": "scope",
                        "type": "pubkey"
                    },
                    {
                        "name": "asset_mint",
                        "type": "pubkey"
                    }
                ]
            }
        },
        {
            "name": "LiquidityPool",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "reserve_domain",
                        "type": "pubkey"
                    },
                    {
                        "name": "curator",
                        "type": "pubkey"
                    },
                    {
                        "name": "allocator",
                        "type": "pubkey"
                    },
                    {
                        "name": "sentinel",
                        "type": "pubkey"
                    },
                    {
                        "name": "pool_id",
                        "type": "string"
                    },
                    {
                        "name": "display_name",
                        "type": "string"
                    },
                    {
                        "name": "deposit_asset_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "strategy_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "allowed_exposure_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "external_yield_adapter_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "fee_bps",
                        "type": "u16"
                    },
                    {
                        "name": "redemption_policy",
                        "type": "u8"
                    },
                    {
                        "name": "pause_flags",
                        "type": "u32"
                    },
                    {
                        "name": "total_value_locked",
                        "type": "u64"
                    },
                    {
                        "name": "total_allocated",
                        "type": "u64"
                    },
                    {
                        "name": "total_reserved",
                        "type": "u64"
                    },
                    {
                        "name": "total_impaired",
                        "type": "u64"
                    },
                    {
                        "name": "total_pending_redemptions",
                        "type": "u64"
                    },
                    {
                        "name": "active",
                        "type": "bool"
                    },
                    {
                        "name": "audit_nonce",
                        "type": "u64"
                    },
                    {
                        "name": "bump",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "LiquidityPoolCreatedEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "reserve_domain",
                        "type": "pubkey"
                    },
                    {
                        "name": "liquidity_pool",
                        "type": "pubkey"
                    },
                    {
                        "name": "asset_mint",
                        "type": "pubkey"
                    }
                ]
            }
        },
        {
            "name": "MarkImpairmentArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "amount",
                        "type": "u64"
                    },
                    {
                        "name": "reason_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    }
                ]
            }
        },
        {
            "name": "MemberPosition",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "health_plan",
                        "type": "pubkey"
                    },
                    {
                        "name": "policy_series",
                        "type": "pubkey"
                    },
                    {
                        "name": "wallet",
                        "type": "pubkey"
                    },
                    {
                        "name": "subject_commitment",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "eligibility_status",
                        "type": "u8"
                    },
                    {
                        "name": "delegated_rights",
                        "type": "u32"
                    },
                    {
                        "name": "enrollment_proof_mode",
                        "type": "u8"
                    },
                    {
                        "name": "membership_gate_kind",
                        "type": "u8"
                    },
                    {
                        "name": "membership_anchor_ref",
                        "type": "pubkey"
                    },
                    {
                        "name": "gate_amount_snapshot",
                        "type": "u64"
                    },
                    {
                        "name": "invite_id_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "active",
                        "type": "bool"
                    },
                    {
                        "name": "opened_at",
                        "type": "i64"
                    },
                    {
                        "name": "updated_at",
                        "type": "i64"
                    },
                    {
                        "name": "bump",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "MembershipAnchorSeat",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "health_plan",
                        "type": "pubkey"
                    },
                    {
                        "name": "anchor_ref",
                        "type": "pubkey"
                    },
                    {
                        "name": "gate_kind",
                        "type": "u8"
                    },
                    {
                        "name": "holder_wallet",
                        "type": "pubkey"
                    },
                    {
                        "name": "member_position",
                        "type": "pubkey"
                    },
                    {
                        "name": "active",
                        "type": "bool"
                    },
                    {
                        "name": "opened_at",
                        "type": "i64"
                    },
                    {
                        "name": "updated_at",
                        "type": "i64"
                    },
                    {
                        "name": "bump",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "Obligation",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "reserve_domain",
                        "type": "pubkey"
                    },
                    {
                        "name": "asset_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "health_plan",
                        "type": "pubkey"
                    },
                    {
                        "name": "policy_series",
                        "type": "pubkey"
                    },
                    {
                        "name": "member_wallet",
                        "type": "pubkey"
                    },
                    {
                        "name": "beneficiary",
                        "type": "pubkey"
                    },
                    {
                        "name": "funding_line",
                        "type": "pubkey"
                    },
                    {
                        "name": "claim_case",
                        "type": "pubkey"
                    },
                    {
                        "name": "liquidity_pool",
                        "type": "pubkey"
                    },
                    {
                        "name": "capital_class",
                        "type": "pubkey"
                    },
                    {
                        "name": "allocation_position",
                        "type": "pubkey"
                    },
                    {
                        "name": "obligation_id",
                        "type": "string"
                    },
                    {
                        "name": "creation_reason_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "settlement_reason_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "status",
                        "type": "u8"
                    },
                    {
                        "name": "delivery_mode",
                        "type": "u8"
                    },
                    {
                        "name": "principal_amount",
                        "type": "u64"
                    },
                    {
                        "name": "outstanding_amount",
                        "type": "u64"
                    },
                    {
                        "name": "reserved_amount",
                        "type": "u64"
                    },
                    {
                        "name": "claimable_amount",
                        "type": "u64"
                    },
                    {
                        "name": "payable_amount",
                        "type": "u64"
                    },
                    {
                        "name": "settled_amount",
                        "type": "u64"
                    },
                    {
                        "name": "impaired_amount",
                        "type": "u64"
                    },
                    {
                        "name": "recovered_amount",
                        "type": "u64"
                    },
                    {
                        "name": "created_at",
                        "type": "i64"
                    },
                    {
                        "name": "updated_at",
                        "type": "i64"
                    },
                    {
                        "name": "bump",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "ObligationStatusChangedEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "obligation",
                        "type": "pubkey"
                    },
                    {
                        "name": "funding_line",
                        "type": "pubkey"
                    },
                    {
                        "name": "status",
                        "type": "u8"
                    },
                    {
                        "name": "amount",
                        "type": "u64"
                    }
                ]
            }
        },
        {
            "name": "OpenClaimCaseArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "claim_id",
                        "type": "string"
                    },
                    {
                        "name": "policy_series",
                        "type": "pubkey"
                    },
                    {
                        "name": "claimant",
                        "type": "pubkey"
                    },
                    {
                        "name": "evidence_ref_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    }
                ]
            }
        },
        {
            "name": "OpenFundingLineArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "line_id",
                        "type": "string"
                    },
                    {
                        "name": "policy_series",
                        "type": "pubkey"
                    },
                    {
                        "name": "asset_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "line_type",
                        "type": "u8"
                    },
                    {
                        "name": "funding_priority",
                        "type": "u8"
                    },
                    {
                        "name": "committed_amount",
                        "type": "u64"
                    },
                    {
                        "name": "caps_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    }
                ]
            }
        },
        {
            "name": "OpenMemberPositionArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "series_scope",
                        "type": "pubkey"
                    },
                    {
                        "name": "subject_commitment",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "eligibility_status",
                        "type": "u8"
                    },
                    {
                        "name": "delegated_rights",
                        "type": "u32"
                    },
                    {
                        "name": "proof_mode",
                        "type": "u8"
                    },
                    {
                        "name": "token_gate_amount_snapshot",
                        "type": "u64"
                    },
                    {
                        "name": "invite_id_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "invite_expires_at",
                        "type": "i64"
                    },
                    {
                        "name": "anchor_ref",
                        "type": "pubkey"
                    }
                ]
            }
        },
        {
            "name": "OracleProfile",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "oracle",
                        "type": "pubkey"
                    },
                    {
                        "name": "admin",
                        "type": "pubkey"
                    },
                    {
                        "name": "oracle_type",
                        "type": "u8"
                    },
                    {
                        "name": "display_name",
                        "type": "string"
                    },
                    {
                        "name": "legal_name",
                        "type": "string"
                    },
                    {
                        "name": "website_url",
                        "type": "string"
                    },
                    {
                        "name": "app_url",
                        "type": "string"
                    },
                    {
                        "name": "logo_uri",
                        "type": "string"
                    },
                    {
                        "name": "webhook_url",
                        "type": "string"
                    },
                    {
                        "name": "supported_schema_count",
                        "type": "u8"
                    },
                    {
                        "name": "supported_schema_key_hashes",
                        "type": {
                            "array": [
                                {
                                    "array": ["u8", 32]
                                },
                                16
                            ]
                        }
                    },
                    {
                        "name": "active",
                        "type": "bool"
                    },
                    {
                        "name": "claimed",
                        "type": "bool"
                    },
                    {
                        "name": "created_at_ts",
                        "type": "i64"
                    },
                    {
                        "name": "updated_at_ts",
                        "type": "i64"
                    },
                    {
                        "name": "bump",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "OracleProfileClaimedEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "oracle_profile",
                        "type": "pubkey"
                    },
                    {
                        "name": "oracle",
                        "type": "pubkey"
                    },
                    {
                        "name": "admin",
                        "type": "pubkey"
                    }
                ]
            }
        },
        {
            "name": "OracleProfileRegisteredEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "oracle_profile",
                        "type": "pubkey"
                    },
                    {
                        "name": "oracle",
                        "type": "pubkey"
                    },
                    {
                        "name": "admin",
                        "type": "pubkey"
                    },
                    {
                        "name": "oracle_type",
                        "type": "u8"
                    },
                    {
                        "name": "claimed",
                        "type": "bool"
                    }
                ]
            }
        },
        {
            "name": "OracleProfileUpdatedEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "oracle_profile",
                        "type": "pubkey"
                    },
                    {
                        "name": "oracle",
                        "type": "pubkey"
                    },
                    {
                        "name": "authority",
                        "type": "pubkey"
                    },
                    {
                        "name": "oracle_type",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "OutcomeSchema",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "publisher",
                        "type": "pubkey"
                    },
                    {
                        "name": "schema_key_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "schema_key",
                        "type": "string"
                    },
                    {
                        "name": "version",
                        "type": "u16"
                    },
                    {
                        "name": "schema_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "schema_family",
                        "type": "u8"
                    },
                    {
                        "name": "visibility",
                        "type": "u8"
                    },
                    {
                        "name": "metadata_uri",
                        "type": "string"
                    },
                    {
                        "name": "verified",
                        "type": "bool"
                    },
                    {
                        "name": "created_at_ts",
                        "type": "i64"
                    },
                    {
                        "name": "updated_at_ts",
                        "type": "i64"
                    },
                    {
                        "name": "bump",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "OutcomeSchemaClosedEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "outcome_schema",
                        "type": "pubkey"
                    },
                    {
                        "name": "governance_authority",
                        "type": "pubkey"
                    },
                    {
                        "name": "schema_key_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "recipient",
                        "type": "pubkey"
                    }
                ]
            }
        },
        {
            "name": "OutcomeSchemaRegisteredEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "outcome_schema",
                        "type": "pubkey"
                    },
                    {
                        "name": "publisher",
                        "type": "pubkey"
                    },
                    {
                        "name": "schema_key_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "version",
                        "type": "u16"
                    }
                ]
            }
        },
        {
            "name": "OutcomeSchemaStateChangedEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "outcome_schema",
                        "type": "pubkey"
                    },
                    {
                        "name": "governance_authority",
                        "type": "pubkey"
                    },
                    {
                        "name": "schema_key_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "verified",
                        "type": "bool"
                    }
                ]
            }
        },
        {
            "name": "PlanReserveLedger",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "health_plan",
                        "type": "pubkey"
                    },
                    {
                        "name": "asset_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "sheet",
                        "type": {
                            "defined": {
                                "name": "ReserveBalanceSheet"
                            }
                        }
                    },
                    {
                        "name": "bump",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "PolicySeries",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "reserve_domain",
                        "type": "pubkey"
                    },
                    {
                        "name": "health_plan",
                        "type": "pubkey"
                    },
                    {
                        "name": "asset_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "series_id",
                        "type": "string"
                    },
                    {
                        "name": "display_name",
                        "type": "string"
                    },
                    {
                        "name": "metadata_uri",
                        "type": "string"
                    },
                    {
                        "name": "mode",
                        "type": "u8"
                    },
                    {
                        "name": "status",
                        "type": "u8"
                    },
                    {
                        "name": "adjudication_mode",
                        "type": "u8"
                    },
                    {
                        "name": "terms_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "pricing_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "payout_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "reserve_model_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "evidence_requirements_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "comparability_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "policy_overrides_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "cycle_seconds",
                        "type": "i64"
                    },
                    {
                        "name": "terms_version",
                        "type": "u16"
                    },
                    {
                        "name": "prior_series",
                        "type": "pubkey"
                    },
                    {
                        "name": "successor_series",
                        "type": "pubkey"
                    },
                    {
                        "name": "live_since_ts",
                        "type": "i64"
                    },
                    {
                        "name": "material_locked",
                        "type": "bool"
                    },
                    {
                        "name": "bump",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "PolicySeriesCreatedEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "health_plan",
                        "type": "pubkey"
                    },
                    {
                        "name": "policy_series",
                        "type": "pubkey"
                    },
                    {
                        "name": "asset_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "mode",
                        "type": "u8"
                    },
                    {
                        "name": "terms_version",
                        "type": "u16"
                    }
                ]
            }
        },
        {
            "name": "PolicySeriesVersionedEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "prior_series",
                        "type": "pubkey"
                    },
                    {
                        "name": "next_series",
                        "type": "pubkey"
                    },
                    {
                        "name": "new_terms_version",
                        "type": "u16"
                    }
                ]
            }
        },
        {
            "name": "PoolClassLedger",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "capital_class",
                        "type": "pubkey"
                    },
                    {
                        "name": "asset_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "sheet",
                        "type": {
                            "defined": {
                                "name": "ReserveBalanceSheet"
                            }
                        }
                    },
                    {
                        "name": "total_shares",
                        "type": "u64"
                    },
                    {
                        "name": "realized_yield_amount",
                        "type": "u64"
                    },
                    {
                        "name": "realized_loss_amount",
                        "type": "u64"
                    },
                    {
                        "name": "bump",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "PoolOracleApproval",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "liquidity_pool",
                        "type": "pubkey"
                    },
                    {
                        "name": "oracle",
                        "type": "pubkey"
                    },
                    {
                        "name": "active",
                        "type": "bool"
                    },
                    {
                        "name": "updated_at_ts",
                        "type": "i64"
                    },
                    {
                        "name": "bump",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "PoolOracleApprovalChangedEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "liquidity_pool",
                        "type": "pubkey"
                    },
                    {
                        "name": "oracle",
                        "type": "pubkey"
                    },
                    {
                        "name": "authority",
                        "type": "pubkey"
                    },
                    {
                        "name": "active",
                        "type": "bool"
                    }
                ]
            }
        },
        {
            "name": "PoolOracleFeeVault",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "liquidity_pool",
                        "type": "pubkey"
                    },
                    {
                        "name": "oracle",
                        "type": "pubkey"
                    },
                    {
                        "name": "asset_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "fee_recipient",
                        "type": "pubkey"
                    },
                    {
                        "name": "accrued_fees",
                        "type": "u64"
                    },
                    {
                        "name": "withdrawn_fees",
                        "type": "u64"
                    },
                    {
                        "name": "bump",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "PoolOraclePermissionSet",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "liquidity_pool",
                        "type": "pubkey"
                    },
                    {
                        "name": "oracle",
                        "type": "pubkey"
                    },
                    {
                        "name": "permissions",
                        "type": "u32"
                    },
                    {
                        "name": "updated_at_ts",
                        "type": "i64"
                    },
                    {
                        "name": "bump",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "PoolOraclePermissionsChangedEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "liquidity_pool",
                        "type": "pubkey"
                    },
                    {
                        "name": "oracle",
                        "type": "pubkey"
                    },
                    {
                        "name": "authority",
                        "type": "pubkey"
                    },
                    {
                        "name": "permissions",
                        "type": "u32"
                    }
                ]
            }
        },
        {
            "name": "PoolOraclePolicy",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "liquidity_pool",
                        "type": "pubkey"
                    },
                    {
                        "name": "quorum_m",
                        "type": "u8"
                    },
                    {
                        "name": "quorum_n",
                        "type": "u8"
                    },
                    {
                        "name": "require_verified_schema",
                        "type": "bool"
                    },
                    {
                        "name": "oracle_fee_bps",
                        "type": "u16"
                    },
                    {
                        "name": "allow_delegate_claim",
                        "type": "bool"
                    },
                    {
                        "name": "challenge_window_secs",
                        "type": "u32"
                    },
                    {
                        "name": "updated_at_ts",
                        "type": "i64"
                    },
                    {
                        "name": "bump",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "PoolOraclePolicyChangedEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "liquidity_pool",
                        "type": "pubkey"
                    },
                    {
                        "name": "authority",
                        "type": "pubkey"
                    },
                    {
                        "name": "quorum_m",
                        "type": "u8"
                    },
                    {
                        "name": "quorum_n",
                        "type": "u8"
                    },
                    {
                        "name": "oracle_fee_bps",
                        "type": "u16"
                    }
                ]
            }
        },
        {
            "name": "PoolTreasuryVault",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "liquidity_pool",
                        "type": "pubkey"
                    },
                    {
                        "name": "asset_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "fee_recipient",
                        "type": "pubkey"
                    },
                    {
                        "name": "accrued_fees",
                        "type": "u64"
                    },
                    {
                        "name": "withdrawn_fees",
                        "type": "u64"
                    },
                    {
                        "name": "bump",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "ProcessRedemptionQueueArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "shares",
                        "type": "u64"
                    }
                ]
            }
        },
        {
            "name": "ProtocolFeeVault",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "reserve_domain",
                        "type": "pubkey"
                    },
                    {
                        "name": "asset_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "fee_recipient",
                        "type": "pubkey"
                    },
                    {
                        "name": "accrued_fees",
                        "type": "u64"
                    },
                    {
                        "name": "withdrawn_fees",
                        "type": "u64"
                    },
                    {
                        "name": "bump",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "ProtocolGovernance",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "governance_authority",
                        "type": "pubkey"
                    },
                    {
                        "name": "pending_governance_authority",
                        "type": "pubkey"
                    },
                    {
                        "name": "pending_governance_proposed_at",
                        "type": "i64"
                    },
                    {
                        "name": "pending_governance_expires_at",
                        "type": "i64"
                    },
                    {
                        "name": "protocol_fee_bps",
                        "type": "u16"
                    },
                    {
                        "name": "emergency_pause",
                        "type": "bool"
                    },
                    {
                        "name": "audit_nonce",
                        "type": "u64"
                    },
                    {
                        "name": "bump",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "ProtocolGovernanceAuthorityRotatedEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "previous_governance_authority",
                        "type": "pubkey"
                    },
                    {
                        "name": "new_governance_authority",
                        "type": "pubkey"
                    },
                    {
                        "name": "authority",
                        "type": "pubkey"
                    },
                    {
                        "name": "audit_nonce",
                        "type": "u64"
                    }
                ]
            }
        },
        {
            "name": "ProtocolGovernanceAuthorityTransferCanceledEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "governance_authority",
                        "type": "pubkey"
                    },
                    {
                        "name": "canceled_governance_authority",
                        "type": "pubkey"
                    },
                    {
                        "name": "authority",
                        "type": "pubkey"
                    },
                    {
                        "name": "audit_nonce",
                        "type": "u64"
                    }
                ]
            }
        },
        {
            "name": "ProtocolGovernanceAuthorityTransferProposedEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "current_governance_authority",
                        "type": "pubkey"
                    },
                    {
                        "name": "pending_governance_authority",
                        "type": "pubkey"
                    },
                    {
                        "name": "authority",
                        "type": "pubkey"
                    },
                    {
                        "name": "proposed_at_ts",
                        "type": "i64"
                    },
                    {
                        "name": "expires_at_ts",
                        "type": "i64"
                    },
                    {
                        "name": "audit_nonce",
                        "type": "u64"
                    }
                ]
            }
        },
        {
            "name": "ProtocolGovernanceInitializedEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "governance_authority",
                        "type": "pubkey"
                    },
                    {
                        "name": "protocol_fee_bps",
                        "type": "u16"
                    },
                    {
                        "name": "emergency_pause",
                        "type": "bool"
                    }
                ]
            }
        },
        {
            "name": "PublishReserveAssetRailPriceArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "price_usd_1e8",
                        "type": "u64"
                    },
                    {
                        "name": "confidence_bps",
                        "type": "u16"
                    },
                    {
                        "name": "published_at_ts",
                        "type": "i64"
                    },
                    {
                        "name": "proof_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    }
                ]
            }
        },
        {
            "name": "RecordPremiumPaymentArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "amount",
                        "type": "u64"
                    }
                ]
            }
        },
        {
            "name": "RedemptionRequestedEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "capital_class",
                        "type": "pubkey"
                    },
                    {
                        "name": "owner",
                        "type": "pubkey"
                    },
                    {
                        "name": "shares",
                        "type": "u64"
                    },
                    {
                        "name": "asset_amount",
                        "type": "u64"
                    },
                    {
                        "name": "redemption_sequence",
                        "type": "u64"
                    },
                    {
                        "name": "requested_at_ts",
                        "type": "i64"
                    }
                ]
            }
        },
        {
            "name": "RegisterOracleArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "oracle",
                        "type": "pubkey"
                    },
                    {
                        "name": "oracle_type",
                        "type": "u8"
                    },
                    {
                        "name": "display_name",
                        "type": "string"
                    },
                    {
                        "name": "legal_name",
                        "type": "string"
                    },
                    {
                        "name": "website_url",
                        "type": "string"
                    },
                    {
                        "name": "app_url",
                        "type": "string"
                    },
                    {
                        "name": "logo_uri",
                        "type": "string"
                    },
                    {
                        "name": "webhook_url",
                        "type": "string"
                    },
                    {
                        "name": "supported_schema_key_hashes",
                        "type": {
                            "vec": {
                                "array": ["u8", 32]
                            }
                        }
                    }
                ]
            }
        },
        {
            "name": "RegisterOutcomeSchemaArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "schema_key_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "schema_key",
                        "type": "string"
                    },
                    {
                        "name": "version",
                        "type": "u16"
                    },
                    {
                        "name": "schema_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "schema_family",
                        "type": "u8"
                    },
                    {
                        "name": "visibility",
                        "type": "u8"
                    },
                    {
                        "name": "metadata_uri",
                        "type": "string"
                    }
                ]
            }
        },
        {
            "name": "ReleaseReserveArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "amount",
                        "type": "u64"
                    }
                ]
            }
        },
        {
            "name": "RequestRedemptionArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "shares",
                        "type": "u64"
                    }
                ]
            }
        },
        {
            "name": "ReserveAssetRail",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "reserve_domain",
                        "type": "pubkey"
                    },
                    {
                        "name": "asset_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "oracle_authority",
                        "type": "pubkey"
                    },
                    {
                        "name": "asset_symbol",
                        "type": "string"
                    },
                    {
                        "name": "role",
                        "type": "u8"
                    },
                    {
                        "name": "payout_priority",
                        "type": "u8"
                    },
                    {
                        "name": "oracle_source",
                        "type": "u8"
                    },
                    {
                        "name": "oracle_feed_id",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "max_staleness_seconds",
                        "type": "i64"
                    },
                    {
                        "name": "max_confidence_bps",
                        "type": "u16"
                    },
                    {
                        "name": "haircut_bps",
                        "type": "u16"
                    },
                    {
                        "name": "max_exposure_bps",
                        "type": "u16"
                    },
                    {
                        "name": "deposit_enabled",
                        "type": "bool"
                    },
                    {
                        "name": "payout_enabled",
                        "type": "bool"
                    },
                    {
                        "name": "capacity_enabled",
                        "type": "bool"
                    },
                    {
                        "name": "active",
                        "type": "bool"
                    },
                    {
                        "name": "last_price_usd_1e8",
                        "type": "u64"
                    },
                    {
                        "name": "last_price_confidence_bps",
                        "type": "u16"
                    },
                    {
                        "name": "last_price_published_at_ts",
                        "type": "i64"
                    },
                    {
                        "name": "last_price_slot",
                        "type": "u64"
                    },
                    {
                        "name": "last_price_proof_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "audit_nonce",
                        "type": "u64"
                    },
                    {
                        "name": "bump",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "ReserveAssetRailConfiguredEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "reserve_domain",
                        "type": "pubkey"
                    },
                    {
                        "name": "reserve_asset_rail",
                        "type": "pubkey"
                    },
                    {
                        "name": "asset_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "role",
                        "type": "u8"
                    },
                    {
                        "name": "payout_priority",
                        "type": "u8"
                    },
                    {
                        "name": "oracle_source",
                        "type": "u8"
                    },
                    {
                        "name": "active",
                        "type": "bool"
                    },
                    {
                        "name": "reason_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    }
                ]
            }
        },
        {
            "name": "ReserveAssetRailPricePublishedEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "reserve_asset_rail",
                        "type": "pubkey"
                    },
                    {
                        "name": "asset_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "oracle_authority",
                        "type": "pubkey"
                    },
                    {
                        "name": "price_usd_1e8",
                        "type": "u64"
                    },
                    {
                        "name": "confidence_bps",
                        "type": "u16"
                    },
                    {
                        "name": "published_at_ts",
                        "type": "i64"
                    },
                    {
                        "name": "proof_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    }
                ]
            }
        },
        {
            "name": "ReserveBalanceSheet",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "funded",
                        "type": "u64"
                    },
                    {
                        "name": "allocated",
                        "type": "u64"
                    },
                    {
                        "name": "reserved",
                        "type": "u64"
                    },
                    {
                        "name": "owed",
                        "type": "u64"
                    },
                    {
                        "name": "claimable",
                        "type": "u64"
                    },
                    {
                        "name": "payable",
                        "type": "u64"
                    },
                    {
                        "name": "settled",
                        "type": "u64"
                    },
                    {
                        "name": "impaired",
                        "type": "u64"
                    },
                    {
                        "name": "pending_redemption",
                        "type": "u64"
                    },
                    {
                        "name": "restricted",
                        "type": "u64"
                    },
                    {
                        "name": "free",
                        "type": "u64"
                    },
                    {
                        "name": "redeemable",
                        "type": "u64"
                    }
                ]
            }
        },
        {
            "name": "ReserveDomain",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "protocol_governance",
                        "type": "pubkey"
                    },
                    {
                        "name": "domain_admin",
                        "type": "pubkey"
                    },
                    {
                        "name": "domain_id",
                        "type": "string"
                    },
                    {
                        "name": "display_name",
                        "type": "string"
                    },
                    {
                        "name": "settlement_mode",
                        "type": "u8"
                    },
                    {
                        "name": "legal_structure_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "compliance_baseline_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "allowed_rail_mask",
                        "type": "u16"
                    },
                    {
                        "name": "pause_flags",
                        "type": "u32"
                    },
                    {
                        "name": "active",
                        "type": "bool"
                    },
                    {
                        "name": "audit_nonce",
                        "type": "u64"
                    },
                    {
                        "name": "bump",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "ReserveDomainCreatedEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "reserve_domain",
                        "type": "pubkey"
                    },
                    {
                        "name": "domain_admin",
                        "type": "pubkey"
                    },
                    {
                        "name": "settlement_mode",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "ReserveObligationArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "amount",
                        "type": "u64"
                    }
                ]
            }
        },
        {
            "name": "RotateProtocolGovernanceAuthorityArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "new_governance_authority",
                        "type": "pubkey"
                    }
                ]
            }
        },
        {
            "name": "SchemaDependencyLedger",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "schema_key_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "pool_rule_addresses",
                        "type": {
                            "vec": "pubkey"
                        }
                    },
                    {
                        "name": "updated_at_ts",
                        "type": "i64"
                    },
                    {
                        "name": "bump",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "SchemaDependencyLedgerUpdatedEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "schema_dependency_ledger",
                        "type": "pubkey"
                    },
                    {
                        "name": "governance_authority",
                        "type": "pubkey"
                    },
                    {
                        "name": "schema_key_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "dependency_count",
                        "type": "u16"
                    }
                ]
            }
        },
        {
            "name": "ScopedControlChangedEvent",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "scope_kind",
                        "type": "u8"
                    },
                    {
                        "name": "scope",
                        "type": "pubkey"
                    },
                    {
                        "name": "authority",
                        "type": "pubkey"
                    },
                    {
                        "name": "pause_flags",
                        "type": "u32"
                    },
                    {
                        "name": "reason_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "audit_nonce",
                        "type": "u64"
                    }
                ]
            }
        },
        {
            "name": "SeriesReserveLedger",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "policy_series",
                        "type": "pubkey"
                    },
                    {
                        "name": "asset_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "sheet",
                        "type": {
                            "defined": {
                                "name": "ReserveBalanceSheet"
                            }
                        }
                    },
                    {
                        "name": "bump",
                        "type": "u8"
                    }
                ]
            }
        },
        {
            "name": "SetPoolOracleArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "active",
                        "type": "bool"
                    }
                ]
            }
        },
        {
            "name": "SetPoolOraclePermissionsArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "permissions",
                        "type": "u32"
                    }
                ]
            }
        },
        {
            "name": "SetPoolOraclePolicyArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "quorum_m",
                        "type": "u8"
                    },
                    {
                        "name": "quorum_n",
                        "type": "u8"
                    },
                    {
                        "name": "require_verified_schema",
                        "type": "bool"
                    },
                    {
                        "name": "oracle_fee_bps",
                        "type": "u16"
                    },
                    {
                        "name": "allow_delegate_claim",
                        "type": "bool"
                    },
                    {
                        "name": "challenge_window_secs",
                        "type": "u32"
                    }
                ]
            }
        },
        {
            "name": "SetProtocolEmergencyPauseArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "emergency_pause",
                        "type": "bool"
                    },
                    {
                        "name": "reason_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    }
                ]
            }
        },
        {
            "name": "SettleClaimCaseArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "amount",
                        "type": "u64"
                    }
                ]
            }
        },
        {
            "name": "SettleClaimCaseSelectedAssetArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "claim_credit_amount",
                        "type": "u64"
                    },
                    {
                        "name": "payout_amount",
                        "type": "u64"
                    },
                    {
                        "name": "max_overpay_bps",
                        "type": "u16"
                    },
                    {
                        "name": "settlement_reason_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    }
                ]
            }
        },
        {
            "name": "SettleObligationArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "next_status",
                        "type": "u8"
                    },
                    {
                        "name": "amount",
                        "type": "u64"
                    },
                    {
                        "name": "settlement_reason_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    }
                ]
            }
        },
        {
            "name": "UpdateAllocationCapsArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "cap_amount",
                        "type": "u64"
                    },
                    {
                        "name": "weight_bps",
                        "type": "u16"
                    },
                    {
                        "name": "deallocation_only",
                        "type": "bool"
                    },
                    {
                        "name": "active",
                        "type": "bool"
                    },
                    {
                        "name": "reason_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    }
                ]
            }
        },
        {
            "name": "UpdateCapitalClassControlsArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "pause_flags",
                        "type": "u32"
                    },
                    {
                        "name": "queue_only_redemptions",
                        "type": "bool"
                    },
                    {
                        "name": "active",
                        "type": "bool"
                    },
                    {
                        "name": "reason_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    }
                ]
            }
        },
        {
            "name": "UpdateHealthPlanControlsArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "sponsor_operator",
                        "type": "pubkey"
                    },
                    {
                        "name": "claims_operator",
                        "type": "pubkey"
                    },
                    {
                        "name": "oracle_authority",
                        "type": "pubkey"
                    },
                    {
                        "name": "membership_mode",
                        "type": "u8"
                    },
                    {
                        "name": "membership_gate_kind",
                        "type": "u8"
                    },
                    {
                        "name": "membership_gate_mint",
                        "type": "pubkey"
                    },
                    {
                        "name": "membership_gate_min_amount",
                        "type": "u64"
                    },
                    {
                        "name": "membership_invite_authority",
                        "type": "pubkey"
                    },
                    {
                        "name": "allowed_rail_mask",
                        "type": "u16"
                    },
                    {
                        "name": "default_funding_priority",
                        "type": "u8"
                    },
                    {
                        "name": "oracle_policy_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "schema_binding_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "compliance_baseline_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "pause_flags",
                        "type": "u32"
                    },
                    {
                        "name": "active",
                        "type": "bool"
                    },
                    {
                        "name": "reason_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    }
                ]
            }
        },
        {
            "name": "UpdateLpPositionCredentialingArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "owner",
                        "type": "pubkey"
                    },
                    {
                        "name": "credentialed",
                        "type": "bool"
                    },
                    {
                        "name": "reason_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    }
                ]
            }
        },
        {
            "name": "UpdateMemberEligibilityArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "eligibility_status",
                        "type": "u8"
                    },
                    {
                        "name": "delegated_rights",
                        "type": "u32"
                    },
                    {
                        "name": "active",
                        "type": "bool"
                    }
                ]
            }
        },
        {
            "name": "UpdateOracleProfileArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "oracle_type",
                        "type": "u8"
                    },
                    {
                        "name": "display_name",
                        "type": "string"
                    },
                    {
                        "name": "legal_name",
                        "type": "string"
                    },
                    {
                        "name": "website_url",
                        "type": "string"
                    },
                    {
                        "name": "app_url",
                        "type": "string"
                    },
                    {
                        "name": "logo_uri",
                        "type": "string"
                    },
                    {
                        "name": "webhook_url",
                        "type": "string"
                    },
                    {
                        "name": "supported_schema_key_hashes",
                        "type": {
                            "vec": {
                                "array": ["u8", 32]
                            }
                        }
                    }
                ]
            }
        },
        {
            "name": "UpdateReserveDomainControlsArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "allowed_rail_mask",
                        "type": "u16"
                    },
                    {
                        "name": "pause_flags",
                        "type": "u32"
                    },
                    {
                        "name": "active",
                        "type": "bool"
                    },
                    {
                        "name": "reason_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    }
                ]
            }
        },
        {
            "name": "VerifyOutcomeSchemaArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "verified",
                        "type": "bool"
                    }
                ]
            }
        },
        {
            "name": "VersionPolicySeriesArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "series_id",
                        "type": "string"
                    },
                    {
                        "name": "display_name",
                        "type": "string"
                    },
                    {
                        "name": "metadata_uri",
                        "type": "string"
                    },
                    {
                        "name": "status",
                        "type": "u8"
                    },
                    {
                        "name": "adjudication_mode",
                        "type": "u8"
                    },
                    {
                        "name": "terms_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "pricing_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "payout_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "reserve_model_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "evidence_requirements_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "comparability_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "policy_overrides_hash",
                        "type": {
                            "array": ["u8", 32]
                        }
                    },
                    {
                        "name": "cycle_seconds",
                        "type": "i64"
                    }
                ]
            }
        },
        {
            "name": "WithdrawArgs",
            "type": {
                "kind": "struct",
                "fields": [
                    {
                        "name": "amount",
                        "docs": [
                            "Amount to withdraw, in the rail's native units (lamports for SOL,",
                            "SPL base units for SPL). Must satisfy",
                            "`withdrawn_fees + amount <= accrued_fees` on the rail's fee vault,",
                            "and must not breach rent-exemption on the SOL rail."
                        ],
                        "type": "u64"
                    }
                ]
            }
        }
    ]
}
