{
  "schema_version": "v1",
  "generated_by": "msg_whitepaper_pipeline_v1",
  "pack_id": "core_contract_reference",
  "contract_count": 12,
  "contracts": [
    {
      "contract_name": "agent_payment_v1",
      "canonical_key": null,
      "package_name": "agent-payment-v1",
      "version": "0.1.0",
      "category": "developer_or_business",
      "official_contract": true,
      "starter_only": false,
      "production_ready": false,
      "crate_path": "contracts/cosmwasm/all/agent_payment_v1",
      "interface_hash": null,
      "capabilities": [
        "agent_payment_intent",
        "agent_payment_settlement",
        "agent_payment_query"
      ],
      "developer_allowed_actions": [
        "query",
        "execute_payment_intent",
        "execute_settlement"
      ],
      "admin_only_actions": [
        "store",
        "instantiate",
        "migrate"
      ],
      "schema_files": {
        "execute": "contract_reference/contracts/agent_payment_v1/schema/execute_msg.json",
        "instantiate": "contract_reference/contracts/agent_payment_v1/schema/instantiate_msg.json",
        "migrate": "contract_reference/contracts/agent_payment_v1/schema/migrate_msg.json",
        "query": "contract_reference/contracts/agent_payment_v1/schema/query_msg.json"
      },
      "public_dir": "contract_reference/contracts/agent_payment_v1",
      "public_dir_public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/agent_payment_v1",
      "public_files": [
        {
          "id": "cargo_toml",
          "path": "contract_reference/contracts/agent_payment_v1/Cargo.toml",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/agent_payment_v1/Cargo.toml"
        },
        {
          "id": "msg_rs",
          "path": "contract_reference/contracts/agent_payment_v1/src/msg.rs",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/agent_payment_v1/src/msg.rs"
        },
        {
          "id": "schema_execute",
          "path": "contract_reference/contracts/agent_payment_v1/schema/execute_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/agent_payment_v1/schema/execute_msg.json"
        },
        {
          "id": "schema_instantiate",
          "path": "contract_reference/contracts/agent_payment_v1/schema/instantiate_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/agent_payment_v1/schema/instantiate_msg.json"
        },
        {
          "id": "schema_migrate",
          "path": "contract_reference/contracts/agent_payment_v1/schema/migrate_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/agent_payment_v1/schema/migrate_msg.json"
        },
        {
          "id": "schema_query",
          "path": "contract_reference/contracts/agent_payment_v1/schema/query_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/agent_payment_v1/schema/query_msg.json"
        }
      ],
      "failure_mode": "fail-closed until signed contract schema release and public business E2E trace are accepted"
    },
    {
      "contract_name": "agent_registry_v1",
      "canonical_key": null,
      "package_name": "agent-registry-v1",
      "version": "0.1.0",
      "category": "developer_or_business",
      "official_contract": true,
      "starter_only": false,
      "production_ready": false,
      "crate_path": "contracts/cosmwasm/all/agent_registry_v1",
      "interface_hash": null,
      "capabilities": [
        "agent_registration",
        "agent_discovery",
        "agent_listing"
      ],
      "developer_allowed_actions": [
        "query",
        "execute_register_agent"
      ],
      "admin_only_actions": [
        "store",
        "instantiate",
        "migrate"
      ],
      "schema_files": {
        "idl": "contract_reference/contracts/agent_registry_v1/schema/agent-registry-v1.json"
      },
      "public_dir": "contract_reference/contracts/agent_registry_v1",
      "public_dir_public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/agent_registry_v1",
      "public_files": [
        {
          "id": "cargo_toml",
          "path": "contract_reference/contracts/agent_registry_v1/Cargo.toml",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/agent_registry_v1/Cargo.toml"
        },
        {
          "id": "msg_rs",
          "path": "contract_reference/contracts/agent_registry_v1/src/msg.rs",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/agent_registry_v1/src/msg.rs"
        },
        {
          "id": "schema_idl",
          "path": "contract_reference/contracts/agent_registry_v1/schema/agent-registry-v1.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/agent_registry_v1/schema/agent-registry-v1.json"
        }
      ],
      "failure_mode": "fail-closed until signed contract schema release and public query/execute trace are accepted"
    },
    {
      "contract_name": "ai_agent_constitution_v1",
      "canonical_key": "ai_agent_constitution_v1",
      "package_name": "ai-agent-constitution-v1",
      "version": "0.1.0",
      "category": "developer_or_business",
      "official_contract": true,
      "starter_only": false,
      "production_ready": false,
      "crate_path": "contracts/cosmwasm/all/ai_agent_constitution_v1",
      "interface_hash": "4db132d6619e5b5edcc612d6831914706280132c537351affa23bb608b74aefdb7e58f5c800fc335de7e6706bb36d91c4b9f3753832b4606077c9792747f0930",
      "capabilities": [
        "active_constitution_query",
        "pending_constitution_update",
        "dao_only_update",
        "timelock_activation",
        "version_history",
        "agent_acknowledgement",
        "check_action_policy_root",
        "global_pause",
        "agent_pause",
        "action_pause",
        "policy_revoke"
      ],
      "developer_allowed_actions": [],
      "admin_only_actions": [],
      "schema_files": {
        "execute": "contract_reference/contracts/ai_agent_constitution_v1/schema/execute_msg.json",
        "instantiate": "contract_reference/contracts/ai_agent_constitution_v1/schema/instantiate_msg.json",
        "migrate": "contract_reference/contracts/ai_agent_constitution_v1/schema/migrate_msg.json",
        "query": "contract_reference/contracts/ai_agent_constitution_v1/schema/query_msg.json"
      },
      "public_dir": "contract_reference/contracts/ai_agent_constitution_v1",
      "public_dir_public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/ai_agent_constitution_v1",
      "public_files": [
        {
          "id": "cargo_toml",
          "path": "contract_reference/contracts/ai_agent_constitution_v1/Cargo.toml",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/ai_agent_constitution_v1/Cargo.toml"
        },
        {
          "id": "msg_rs",
          "path": "contract_reference/contracts/ai_agent_constitution_v1/src/msg.rs",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/ai_agent_constitution_v1/src/msg.rs"
        },
        {
          "id": "schema_execute",
          "path": "contract_reference/contracts/ai_agent_constitution_v1/schema/execute_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/ai_agent_constitution_v1/schema/execute_msg.json"
        },
        {
          "id": "schema_instantiate",
          "path": "contract_reference/contracts/ai_agent_constitution_v1/schema/instantiate_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/ai_agent_constitution_v1/schema/instantiate_msg.json"
        },
        {
          "id": "schema_migrate",
          "path": "contract_reference/contracts/ai_agent_constitution_v1/schema/migrate_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/ai_agent_constitution_v1/schema/migrate_msg.json"
        },
        {
          "id": "schema_query",
          "path": "contract_reference/contracts/ai_agent_constitution_v1/schema/query_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/ai_agent_constitution_v1/schema/query_msg.json"
        }
      ],
      "failure_mode": null
    },
    {
      "contract_name": "aidid_did_registry_v1",
      "canonical_key": "aidid_did_registry_v1",
      "package_name": "aidid-did-registry-v1",
      "version": "0.1.0",
      "category": "developer_or_business",
      "official_contract": true,
      "starter_only": false,
      "production_ready": false,
      "crate_path": "contracts/cosmwasm/all/aidid_did_registry_v1",
      "interface_hash": "0076e000adff6d8dc3547cdacc504c03eeeeb58fcd8a3763496428b20a5330f1610bc63e7240232c152547ff64a5f4c73b93be84db4f46809a0b8983aaeaad1d",
      "capabilities": [
        "did_register",
        "did_resolve",
        "did_update",
        "did_deactivate",
        "msg_pq_verify_v1_host_verification",
        "host_missing_fail_closed"
      ],
      "developer_allowed_actions": [],
      "admin_only_actions": [],
      "schema_files": {
        "execute": "contract_reference/contracts/aidid_did_registry_v1/schema/execute_msg.json",
        "instantiate": "contract_reference/contracts/aidid_did_registry_v1/schema/instantiate_msg.json",
        "migrate": "contract_reference/contracts/aidid_did_registry_v1/schema/migrate_msg.json",
        "query": "contract_reference/contracts/aidid_did_registry_v1/schema/query_msg.json"
      },
      "public_dir": "contract_reference/contracts/aidid_did_registry_v1",
      "public_dir_public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/aidid_did_registry_v1",
      "public_files": [
        {
          "id": "cargo_toml",
          "path": "contract_reference/contracts/aidid_did_registry_v1/Cargo.toml",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/aidid_did_registry_v1/Cargo.toml"
        },
        {
          "id": "msg_rs",
          "path": "contract_reference/contracts/aidid_did_registry_v1/src/msg.rs",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/aidid_did_registry_v1/src/msg.rs"
        },
        {
          "id": "schema_execute",
          "path": "contract_reference/contracts/aidid_did_registry_v1/schema/execute_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/aidid_did_registry_v1/schema/execute_msg.json"
        },
        {
          "id": "schema_instantiate",
          "path": "contract_reference/contracts/aidid_did_registry_v1/schema/instantiate_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/aidid_did_registry_v1/schema/instantiate_msg.json"
        },
        {
          "id": "schema_migrate",
          "path": "contract_reference/contracts/aidid_did_registry_v1/schema/migrate_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/aidid_did_registry_v1/schema/migrate_msg.json"
        },
        {
          "id": "schema_query",
          "path": "contract_reference/contracts/aidid_did_registry_v1/schema/query_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/aidid_did_registry_v1/schema/query_msg.json"
        }
      ],
      "failure_mode": null
    },
    {
      "contract_name": "candidate_node_staking_v2",
      "canonical_key": "candidate_node_staking",
      "package_name": "candidate-node-staking-v2",
      "version": "1.0.0",
      "category": "mainnet_critical",
      "official_contract": true,
      "starter_only": false,
      "production_ready": false,
      "crate_path": "contracts/cosmwasm/all/candidate_node_staking_v2",
      "interface_hash": "ed918c6cb42906964b4ffc27d3c46896bdf93c913e88f495fee0560e1585ad1439534bd5601ca2a52d2e402da0e5c62f1d04bf7a5470a39916c1902424a8d44a",
      "capabilities": [
        "candidate_stake",
        "candidate_unstake",
        "candidate_reward_inflow",
        "candidate_equal_share_reward",
        "candidate_reward_beneficiary_single_seat",
        "candidate_cap_governed_expansion",
        "candidate_economic_denominator_governed",
        "candidate_dar_window_dynamic",
        "reward_claim",
        "candidate_query",
        "candidate_tier_filter_query",
        "reward_period_query"
      ],
      "developer_allowed_actions": [],
      "admin_only_actions": [],
      "schema_files": {
        "execute": "contract_reference/contracts/candidate_node_staking_v2/schema/execute_msg.json",
        "instantiate": "contract_reference/contracts/candidate_node_staking_v2/schema/instantiate_msg.json",
        "migrate": "contract_reference/contracts/candidate_node_staking_v2/schema/migrate_msg.json",
        "query": "contract_reference/contracts/candidate_node_staking_v2/schema/query_msg.json"
      },
      "public_dir": "contract_reference/contracts/candidate_node_staking_v2",
      "public_dir_public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/candidate_node_staking_v2",
      "public_files": [
        {
          "id": "cargo_toml",
          "path": "contract_reference/contracts/candidate_node_staking_v2/Cargo.toml",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/candidate_node_staking_v2/Cargo.toml"
        },
        {
          "id": "msg_rs",
          "path": "contract_reference/contracts/candidate_node_staking_v2/src/msg.rs",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/candidate_node_staking_v2/src/msg.rs"
        },
        {
          "id": "schema_execute",
          "path": "contract_reference/contracts/candidate_node_staking_v2/schema/execute_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/candidate_node_staking_v2/schema/execute_msg.json"
        },
        {
          "id": "schema_instantiate",
          "path": "contract_reference/contracts/candidate_node_staking_v2/schema/instantiate_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/candidate_node_staking_v2/schema/instantiate_msg.json"
        },
        {
          "id": "schema_migrate",
          "path": "contract_reference/contracts/candidate_node_staking_v2/schema/migrate_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/candidate_node_staking_v2/schema/migrate_msg.json"
        },
        {
          "id": "schema_query",
          "path": "contract_reference/contracts/candidate_node_staking_v2/schema/query_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/candidate_node_staking_v2/schema/query_msg.json"
        }
      ],
      "failure_mode": null
    },
    {
      "contract_name": "counter_v1",
      "canonical_key": null,
      "package_name": "msg-counter-v1",
      "version": "0.1.0",
      "category": "developer_or_business",
      "official_contract": false,
      "starter_only": true,
      "production_ready": false,
      "crate_path": "docs/architecture_diagrams/contract_templates/counter_v1",
      "interface_hash": null,
      "capabilities": [
        "starter_counter_query",
        "starter_counter_execute",
        "template_integration_test"
      ],
      "developer_allowed_actions": [
        "query",
        "execute_on_local_starter"
      ],
      "admin_only_actions": [
        "store",
        "instantiate",
        "migrate"
      ],
      "schema_files": {},
      "public_dir": "contract_reference/contracts/counter_v1",
      "public_dir_public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/counter_v1",
      "public_files": [
        {
          "id": "cargo_toml",
          "path": "contract_reference/contracts/counter_v1/Cargo.toml",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/counter_v1/Cargo.toml"
        },
        {
          "id": "msg_rs",
          "path": "contract_reference/contracts/counter_v1/src/msg.rs",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/counter_v1/src/msg.rs"
        }
      ],
      "failure_mode": "fail-closed as starter_only until rewritten, audited, signed, and deployed through governance or signed release"
    },
    {
      "contract_name": "dao_governance_v1",
      "canonical_key": "dao_governance",
      "package_name": "dao-governance",
      "version": "1.0.2",
      "category": "mainnet_critical",
      "official_contract": true,
      "starter_only": false,
      "production_ready": false,
      "crate_path": "contracts/cosmwasm/all/dao_governance_v1",
      "interface_hash": "8be94d80e0e7a527a1286ddb06eabf48f2c27378ce8f8d67ed7a7535bbb1e8c303d28d6ce777da17627dbd2e9512cdbe51ac930e4b4d67c2f5f7f37b01469659",
      "capabilities": [
        "proposal_create",
        "proposal_vote",
        "proposal_execute",
        "config_query",
        "tally_query",
        "voting_power_query"
      ],
      "developer_allowed_actions": [],
      "admin_only_actions": [],
      "schema_files": {
        "execute": "contract_reference/contracts/dao_governance_v1/schema/execute_msg.json",
        "instantiate": "contract_reference/contracts/dao_governance_v1/schema/instantiate_msg.json",
        "migrate": "contract_reference/contracts/dao_governance_v1/schema/migrate_msg.json",
        "query": "contract_reference/contracts/dao_governance_v1/schema/query_msg.json"
      },
      "public_dir": "contract_reference/contracts/dao_governance_v1",
      "public_dir_public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/dao_governance_v1",
      "public_files": [
        {
          "id": "cargo_toml",
          "path": "contract_reference/contracts/dao_governance_v1/Cargo.toml",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/dao_governance_v1/Cargo.toml"
        },
        {
          "id": "msg_rs",
          "path": "contract_reference/contracts/dao_governance_v1/src/msg.rs",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/dao_governance_v1/src/msg.rs"
        },
        {
          "id": "schema_execute",
          "path": "contract_reference/contracts/dao_governance_v1/schema/execute_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/dao_governance_v1/schema/execute_msg.json"
        },
        {
          "id": "schema_instantiate",
          "path": "contract_reference/contracts/dao_governance_v1/schema/instantiate_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/dao_governance_v1/schema/instantiate_msg.json"
        },
        {
          "id": "schema_migrate",
          "path": "contract_reference/contracts/dao_governance_v1/schema/migrate_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/dao_governance_v1/schema/migrate_msg.json"
        },
        {
          "id": "schema_query",
          "path": "contract_reference/contracts/dao_governance_v1/schema/query_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/dao_governance_v1/schema/query_msg.json"
        }
      ],
      "failure_mode": null
    },
    {
      "contract_name": "foundation_treasury_v2",
      "canonical_key": "foundation_treasury",
      "package_name": "foundation-treasury-v2",
      "version": "1.0.2",
      "category": "mainnet_critical",
      "official_contract": true,
      "starter_only": false,
      "production_ready": false,
      "crate_path": "contracts/cosmwasm/all/foundation_treasury_v2",
      "interface_hash": "dd0f423368acdbcb77a180b1679e8f36d1dcfaaf76d431c832793f4dc60696dcda07a35218f2cebb34fe29d5b2e69a923ee09d07ba95caf7c61c0ddcef522f46",
      "capabilities": [
        "treasury_execution_create",
        "treasury_execution_sign",
        "treasury_execution_execute",
        "threshold_query",
        "signature_query"
      ],
      "developer_allowed_actions": [],
      "admin_only_actions": [],
      "schema_files": {
        "execute": "contract_reference/contracts/foundation_treasury_v2/schema/execute_msg.json",
        "instantiate": "contract_reference/contracts/foundation_treasury_v2/schema/instantiate_msg.json",
        "migrate": "contract_reference/contracts/foundation_treasury_v2/schema/migrate_msg.json",
        "query": "contract_reference/contracts/foundation_treasury_v2/schema/query_msg.json"
      },
      "public_dir": "contract_reference/contracts/foundation_treasury_v2",
      "public_dir_public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/foundation_treasury_v2",
      "public_files": [
        {
          "id": "cargo_toml",
          "path": "contract_reference/contracts/foundation_treasury_v2/Cargo.toml",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/foundation_treasury_v2/Cargo.toml"
        },
        {
          "id": "msg_rs",
          "path": "contract_reference/contracts/foundation_treasury_v2/src/msg.rs",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/foundation_treasury_v2/src/msg.rs"
        },
        {
          "id": "schema_execute",
          "path": "contract_reference/contracts/foundation_treasury_v2/schema/execute_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/foundation_treasury_v2/schema/execute_msg.json"
        },
        {
          "id": "schema_instantiate",
          "path": "contract_reference/contracts/foundation_treasury_v2/schema/instantiate_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/foundation_treasury_v2/schema/instantiate_msg.json"
        },
        {
          "id": "schema_migrate",
          "path": "contract_reference/contracts/foundation_treasury_v2/schema/migrate_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/foundation_treasury_v2/schema/migrate_msg.json"
        },
        {
          "id": "schema_query",
          "path": "contract_reference/contracts/foundation_treasury_v2/schema/query_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/foundation_treasury_v2/schema/query_msg.json"
        }
      ],
      "failure_mode": null
    },
    {
      "contract_name": "gas_fee_distribution_v2",
      "canonical_key": "gas_fee_distribution",
      "package_name": "gas-fee-distribution-v2",
      "version": "1.0.0",
      "category": "mainnet_critical",
      "official_contract": true,
      "starter_only": false,
      "production_ready": false,
      "crate_path": "contracts/cosmwasm/all/gas_fee_distribution_v2",
      "interface_hash": "930b2d71dee8443a77674a76e38e7a605951569aea9c171fd469ff6016d77378da626816082ae075311c2606135792e54e080de4c6a0a56f80481766029873c9",
      "capabilities": [
        "developer_registration",
        "gas_fee_distribution",
        "redistribution_record",
        "config_query",
        "developer_query",
        "redistribution_state_query"
      ],
      "developer_allowed_actions": [],
      "admin_only_actions": [],
      "schema_files": {
        "execute": "contract_reference/contracts/gas_fee_distribution_v2/schema/execute_msg.json",
        "instantiate": "contract_reference/contracts/gas_fee_distribution_v2/schema/instantiate_msg.json",
        "migrate": "contract_reference/contracts/gas_fee_distribution_v2/schema/migrate_msg.json",
        "query": "contract_reference/contracts/gas_fee_distribution_v2/schema/query_msg.json",
        "sudo": "contract_reference/contracts/gas_fee_distribution_v2/schema/sudo_msg.json"
      },
      "public_dir": "contract_reference/contracts/gas_fee_distribution_v2",
      "public_dir_public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/gas_fee_distribution_v2",
      "public_files": [
        {
          "id": "cargo_toml",
          "path": "contract_reference/contracts/gas_fee_distribution_v2/Cargo.toml",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/gas_fee_distribution_v2/Cargo.toml"
        },
        {
          "id": "msg_rs",
          "path": "contract_reference/contracts/gas_fee_distribution_v2/src/msg.rs",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/gas_fee_distribution_v2/src/msg.rs"
        },
        {
          "id": "schema_execute",
          "path": "contract_reference/contracts/gas_fee_distribution_v2/schema/execute_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/gas_fee_distribution_v2/schema/execute_msg.json"
        },
        {
          "id": "schema_instantiate",
          "path": "contract_reference/contracts/gas_fee_distribution_v2/schema/instantiate_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/gas_fee_distribution_v2/schema/instantiate_msg.json"
        },
        {
          "id": "schema_migrate",
          "path": "contract_reference/contracts/gas_fee_distribution_v2/schema/migrate_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/gas_fee_distribution_v2/schema/migrate_msg.json"
        },
        {
          "id": "schema_query",
          "path": "contract_reference/contracts/gas_fee_distribution_v2/schema/query_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/gas_fee_distribution_v2/schema/query_msg.json"
        },
        {
          "id": "schema_sudo",
          "path": "contract_reference/contracts/gas_fee_distribution_v2/schema/sudo_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/gas_fee_distribution_v2/schema/sudo_msg.json"
        }
      ],
      "failure_mode": null
    },
    {
      "contract_name": "genesis_registry_v1",
      "canonical_key": "genesis_registry",
      "package_name": "genesis-registry-v1",
      "version": "1.0.0",
      "category": "mainnet_critical",
      "official_contract": true,
      "starter_only": false,
      "production_ready": false,
      "crate_path": "contracts/cosmwasm/all/genesis_registry_v1",
      "interface_hash": "7d04a7f37121b7d9b76629286a2d8b5a441b0330dcceb89299e89faf46402bc648bd6fb736d89330f9f37c98dc11b6ebae38593f6f170410de76500d091b4da9",
      "capabilities": [
        "canonical_mapping_query",
        "genesis_info_query",
        "contract_address_query"
      ],
      "developer_allowed_actions": [
        "query"
      ],
      "admin_only_actions": [
        "store",
        "instantiate",
        "execute_register_canonical_mapping",
        "migrate"
      ],
      "schema_files": {
        "execute": "contract_reference/contracts/genesis_registry_v1/schema/execute_msg.json",
        "instantiate": "contract_reference/contracts/genesis_registry_v1/schema/instantiate_msg.json",
        "migrate": "contract_reference/contracts/genesis_registry_v1/schema/migrate_msg.json",
        "query": "contract_reference/contracts/genesis_registry_v1/schema/query_msg.json"
      },
      "public_dir": "contract_reference/contracts/genesis_registry_v1",
      "public_dir_public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/genesis_registry_v1",
      "public_files": [
        {
          "id": "cargo_toml",
          "path": "contract_reference/contracts/genesis_registry_v1/Cargo.toml",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/genesis_registry_v1/Cargo.toml"
        },
        {
          "id": "msg_rs",
          "path": "contract_reference/contracts/genesis_registry_v1/src/msg.rs",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/genesis_registry_v1/src/msg.rs"
        },
        {
          "id": "schema_execute",
          "path": "contract_reference/contracts/genesis_registry_v1/schema/execute_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/genesis_registry_v1/schema/execute_msg.json"
        },
        {
          "id": "schema_instantiate",
          "path": "contract_reference/contracts/genesis_registry_v1/schema/instantiate_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/genesis_registry_v1/schema/instantiate_msg.json"
        },
        {
          "id": "schema_migrate",
          "path": "contract_reference/contracts/genesis_registry_v1/schema/migrate_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/genesis_registry_v1/schema/migrate_msg.json"
        },
        {
          "id": "schema_query",
          "path": "contract_reference/contracts/genesis_registry_v1/schema/query_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/genesis_registry_v1/schema/query_msg.json"
        }
      ],
      "failure_mode": "fail-closed until signed contract schema release and canonical mapping cross-check are accepted"
    },
    {
      "contract_name": "micropayment_session_v1",
      "canonical_key": null,
      "package_name": "micropayment-session-v1",
      "version": "0.1.0",
      "category": "developer_or_business",
      "official_contract": true,
      "starter_only": false,
      "production_ready": false,
      "crate_path": "contracts/cosmwasm/all/micropayment_session_v1",
      "interface_hash": null,
      "capabilities": [
        "micropayment_session_create",
        "micropayment_session_charge",
        "micropayment_session_close",
        "micropayment_session_query"
      ],
      "developer_allowed_actions": [
        "query",
        "execute_create_session",
        "execute_charge_session",
        "execute_close_session"
      ],
      "admin_only_actions": [
        "store",
        "instantiate",
        "migrate"
      ],
      "schema_files": {
        "idl": "contract_reference/contracts/micropayment_session_v1/schema/micropayment-session-v1.json"
      },
      "public_dir": "contract_reference/contracts/micropayment_session_v1",
      "public_dir_public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/micropayment_session_v1",
      "public_files": [
        {
          "id": "cargo_toml",
          "path": "contract_reference/contracts/micropayment_session_v1/Cargo.toml",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/micropayment_session_v1/Cargo.toml"
        },
        {
          "id": "msg_rs",
          "path": "contract_reference/contracts/micropayment_session_v1/src/msg.rs",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/micropayment_session_v1/src/msg.rs"
        },
        {
          "id": "schema_idl",
          "path": "contract_reference/contracts/micropayment_session_v1/schema/micropayment-session-v1.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/micropayment_session_v1/schema/micropayment-session-v1.json"
        }
      ],
      "failure_mode": "fail-closed until signed contract schema release and public business E2E trace are accepted"
    },
    {
      "contract_name": "validator_qualification_v2",
      "canonical_key": "validator_qualification",
      "package_name": "validator-qualification-v2",
      "version": "1.0.0",
      "category": "mainnet_critical",
      "official_contract": true,
      "starter_only": false,
      "production_ready": false,
      "crate_path": "contracts/cosmwasm/all/validator_qualification_v2",
      "interface_hash": "8362a4002511e3b7da9965933ebacf9c7f113ec298f652c65df04f273913a4cc40495dcd617ef4766d37dab94a7acceb2bba6fe51304dffa210af7dad338f2e0",
      "capabilities": [
        "validator_register",
        "validator_register_v2",
        "libp2p_info_update",
        "misbehavior_report",
        "validator_query",
        "pq_identity_binding_query"
      ],
      "developer_allowed_actions": [],
      "admin_only_actions": [],
      "schema_files": {
        "execute": "contract_reference/contracts/validator_qualification_v2/schema/execute_msg.json",
        "instantiate": "contract_reference/contracts/validator_qualification_v2/schema/instantiate_msg.json",
        "migrate": "contract_reference/contracts/validator_qualification_v2/schema/migrate_msg.json",
        "query": "contract_reference/contracts/validator_qualification_v2/schema/query_msg.json"
      },
      "public_dir": "contract_reference/contracts/validator_qualification_v2",
      "public_dir_public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/validator_qualification_v2",
      "public_files": [
        {
          "id": "cargo_toml",
          "path": "contract_reference/contracts/validator_qualification_v2/Cargo.toml",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/validator_qualification_v2/Cargo.toml"
        },
        {
          "id": "msg_rs",
          "path": "contract_reference/contracts/validator_qualification_v2/src/msg.rs",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/validator_qualification_v2/src/msg.rs"
        },
        {
          "id": "schema_execute",
          "path": "contract_reference/contracts/validator_qualification_v2/schema/execute_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/validator_qualification_v2/schema/execute_msg.json"
        },
        {
          "id": "schema_instantiate",
          "path": "contract_reference/contracts/validator_qualification_v2/schema/instantiate_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/validator_qualification_v2/schema/instantiate_msg.json"
        },
        {
          "id": "schema_migrate",
          "path": "contract_reference/contracts/validator_qualification_v2/schema/migrate_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/validator_qualification_v2/schema/migrate_msg.json"
        },
        {
          "id": "schema_query",
          "path": "contract_reference/contracts/validator_qualification_v2/schema/query_msg.json",
          "public_url": "https://msgchain.org/whitepaper/contract_reference/contracts/validator_qualification_v2/schema/query_msg.json"
        }
      ],
      "failure_mode": null
    }
  ],
  "source_manifests": [
    {
      "id": "ai1_contract_schema_manifest",
      "path": "contract_reference/ai1_contract_schema_manifest.json",
      "public_url": "https://msgchain.org/whitepaper/contract_reference/ai1_contract_schema_manifest.json"
    },
    {
      "id": "developer_contract_schema_abi_pack_manifest",
      "path": "contract_reference/developer_contract_schema_abi_pack_manifest.json",
      "public_url": "https://msgchain.org/whitepaper/contract_reference/developer_contract_schema_abi_pack_manifest.json"
    }
  ],
  "boundary": [
    "当前公开的是核心合约 interface/source 消费索引，重点暴露 Cargo、msg.rs 与 schema，而不是所有业务逻辑源码全集。",
    "official_contract 也不等于 public production-ready；仍需 signed schema release、canonical mapping cross-check 与 final signatures。"
  ],
  "metadata_profile": "public_stable"
}