RSS3-Network / Global-Indexer

In the vast RSS3 Network, the Global Indexer navigates requests with precision, it is a beacon in the byte-filled sea.
MIT License
13 stars 0 forks source link

feat(index): support for updating nodes #218

Closed polebug closed 1 month ago

polebug commented 1 month ago

  {
    "transaction": {
      "hash": "0xeb1de8c0017f78f2750ab72e7c56f6d4e29487793e691c19550a328d69f3e0f1",
      "index": 1
    },
    "block": {
      "hash": "0x641abc034cf2e454a640e08ec8a8d39d15c6184dfdf9689c3647911c19de8f05",
      "number": 3586820,
      "timestamp": 1715833960
    },
    "addressFrom": "0x3b6d02a24df681ffdf621d35d70aba7adaac07c1",
    "addressTo": "0xb1b209ee24272c7ee8076764daa27563c5add9ff",
    "nodeID": 3,
    "type": "nodeUpdated2PublicGood",
    "logIndex": 1,
    "chainID": 2331,
    "metadata": {
      "nodeUpdated2PublicGood": {
        "address": "0x3b6d02a24df681ffdf621d35d70aba7adaac07c1",
        "publicGood": true
      }
    }
  },
{
  "transaction": {
    "hash": "0x7677a728956c2a50275da7f7c54843444eacb1a804763db20c7391376c62b716",
    "index": 1
  },
  "block": {
    "hash": "0x7de5e5574c2717091af9c4680570765a22dc857da2f502e136dc1a9d73260f76",
    "number": 3497518,
    "timestamp": 1715655356
  },
  "addressFrom": "0x3b6d02a24df681ffdf621d35d70aba7adaac07c1",
  "addressTo": "0xb1b209ee24272c7ee8076764daa27563c5add9ff",
  "nodeID": 3,
  "type": "nodeUpdated",
  "logIndex": 0,
  "chainID": 2331,
  "metadata": {
    "nodeUpdated": {
      "address": "0x3b6d02a24df681ffdf621d35d70aba7adaac07c1",
      "name": "Albert",
      "description": "Albert's cool node"
    }
  }
}`