starboard-ventures / fevm-event-tracing

0 stars 0 forks source link

FVM event tracking for REPL #5

Closed beng-starboard closed 5 months ago

beng-starboard commented 5 months ago

请跟踪并解析 pFIL 合约发出的 Transfer(address,address,uint256) event 的元数据。

Contract address mainnet 0xAaa93ac72bECfbBc9149f293466bbdAa4b5Ef68C calibration 0xADD77Cb736Db6F4223776A3E4b173657D0d7F8c8

    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "from",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "to",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "value",
          "type": "uint256"
        }
      ],
      "name": "Transfer",
      "type": "event"
    }
cxytz01 commented 5 months ago

Onboard pFil event tracing. Both mainnet and calibration must be executed.

Tag: https://github.com/starboard-ventures/fevm-event-tracing/releases/tag/v1.0.9 https://github.com/starboard-ventures/fevm-event-tracing/releases/tag/t1.0.9

Step 1: Add new configuration field "pfil_contract": https://github.com/starboard-ventures/fevm-event-tracing/blob/main/config/service.conf_example

Step 2: Start the server.

Step 3: Add API /api/v1/pfil-event-tracing-cron[POST] to the scheduler.

Step 4: Call API /api/v1/pfil-event-tracing-cron[POST] manually immediately.

starboard-devops commented 5 months ago

Deployed.