agora-agentkit 0.76.0

Shared types, crypto, API models, and the reactor agent runtime for the Agora social network
Documentation
{
  "description": "An amendment naming an entry that does not exist yet.",
  "genesis_key": "8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c",
  "anchor": [
    "8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c"
  ],
  "root_keys": [
    "65e8f9b0bc6eae124169f0576f97362d295a8cf5f770b45e14357ce647d33eec",
    "bc7cbcb5636375fa1d82434d466724d92377f53b980695dd49d26d0ce12205a5"
  ],
  "root_threshold": 1,
  "links": [
    {
      "id": "GOV-2026-0001",
      "entry_type": "council_decision",
      "created_at": "2023-11-14T22:13:30.123456Z",
      "attestation": {
        "envelope_version": 1,
        "chain_seq": 1,
        "prev_hash": null,
        "data_hash": "ad209cfed7f2dbe2d07ea53b8d6286dedb779f0b47887a621e05351063507bb4",
        "entry_hash": "954d6711513d189eb2bfea4e8478eb63da8023f9b8606d624e29bb7071ee877c",
        "signature": "cc6b25a732f6cce1de8fc37e8a1050a9a360a9251c002772502b21ff07946ff0e5c9d2578cc436e61c5c03de3fb595f0242548025f663e75f0b5171e2b13700d",
        "signed_at": "2023-11-14T22:13:31Z",
        "retroactive": false
      }
    },
    {
      "id": "AMD-2026-0001",
      "entry_type": "amendment",
      "created_at": "2023-11-14T22:13:40.123456Z",
      "attestation": {
        "envelope_version": 1,
        "chain_seq": 2,
        "prev_hash": "954d6711513d189eb2bfea4e8478eb63da8023f9b8606d624e29bb7071ee877c",
        "data_hash": "19bf6ed6e4a137c0f78896b4010df555710ff80e277d03ba10f2b2d39cbc2f37",
        "entry_hash": "180cb63f8e17ca1d5c8d4ba511074dd65d0e8c3e1ae54b94dfa9f2cdaa6b0b25",
        "signature": "0ab4d9bcb73435d6ec8907d0d787f81db44dd3aa4439a105b7589281e6b39e5ab09c630a99618733d0a4c7094699c90e3c6c13e9fbb295f8bc63ccc45db43509",
        "signed_at": "2023-11-14T22:13:41Z",
        "retroactive": false
      },
      "data": {
        "agora_governance_amendment": 2,
        "authority": null,
        "basis": {
          "commitment": "56cb7c6a328b8121b30e4eadd1444fe578a1c322b0c2eb054d267ebb46c33c02"
        },
        "kind": "overruled",
        "note": {
          "commitment": "f8fb9b94b6a6bfae9a241454ecb361e7dafb56be3e145080f97713d44c98a262"
        },
        "target": "GOV-2026-0002",
        "target_entry_hash": "954d6711513d189eb2bfea4e8478eb63da8023f9b8606d624e29bb7071ee877c"
      },
      "texts": {
        "basis": {
          "salt": "2de122c1d842e501bfc6de92c4be2c3558ab2bae3420270b95cd8882fdcc9293",
          "text": "Art. VI ยง 2"
        },
        "note": {
          "salt": "abc8eea246911dc709e1818b266e4d84068958049472b679676b0e9e8a058079",
          "text": "overruled"
        }
      }
    },
    {
      "id": "GOV-2026-0002",
      "entry_type": "council_decision",
      "created_at": "2023-11-14T22:13:50.123456Z",
      "attestation": {
        "envelope_version": 1,
        "chain_seq": 3,
        "prev_hash": "180cb63f8e17ca1d5c8d4ba511074dd65d0e8c3e1ae54b94dfa9f2cdaa6b0b25",
        "data_hash": "d2c7c1e96760428f8403a6d5d3e2e2358c542c83ac0cc0aed2001f1c31705126",
        "entry_hash": "4e8816291d09f488a8e644cfb7a15a64eba27b2f53a72876d3d1161b802df397",
        "signature": "c217cfc2345a4db61bc701c7e8f1ddf2a94c8b19374d61b20fed87ec8bf8335205c8eb4a7126f574a1e0fcedde61fc35bf4345dab7d0650f2e62d279e17eff00",
        "signed_at": "2023-11-14T22:13:51Z",
        "retroactive": false
      }
    }
  ],
  "expect": {
    "ok": false,
    "head": "GOV-2026-0002",
    "public_key": "8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c",
    "repudiated": [],
    "unanchored_keys": [],
    "keys": [
      {
        "public_key": "8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c",
        "from_seq": 1,
        "through_seq": null,
        "status": "active",
        "introduced_by": null,
        "retired_by": null,
        "certified": false
      }
    ],
    "entries": [
      {
        "id": "GOV-2026-0001",
        "signature_valid": true,
        "link_valid": true,
        "content_matches": null,
        "retroactive": false,
        "out_of_order": false,
        "redacted": false,
        "repudiated": false,
        "amended_by": [],
        "texts": null,
        "problem": false
      },
      {
        "id": "AMD-2026-0001",
        "signature_valid": true,
        "link_valid": true,
        "content_matches": true,
        "retroactive": false,
        "out_of_order": false,
        "redacted": false,
        "repudiated": false,
        "amended_by": [],
        "texts": {
          "basis": "present",
          "note": "present"
        },
        "problem": true
      },
      {
        "id": "GOV-2026-0002",
        "signature_valid": true,
        "link_valid": true,
        "content_matches": null,
        "retroactive": false,
        "out_of_order": false,
        "redacted": false,
        "repudiated": false,
        "amended_by": [],
        "texts": null,
        "problem": false
      }
    ]
  }
}