starboard-ventures / fevm-event-tracing

0 stars 0 forks source link

Track events from REPL contracts #7

Open beng-starboard opened 3 months ago

beng-starboard commented 3 months ago

提取这两个智能合约的所有 FVM event: 1.地址 0xD51Cb0FA9A91f156a80188a18f039140704b8df7函数 event OnNewFundReceived(uint256 amount, address agentAddr)

  1. 地址 0x763B29B97e75fB54923325d46bab2807Ac8C43c5函数 event FILReceived(uint _amount, address indexed _agent) 这是针对此处指定的请求
beng-starboard commented 3 months ago

cc @YeeeeeHan

cxytz01 commented 3 months ago

版本v/t 1.0.10,变更点:

@starboard-devops 请严格按以下步骤在 calibration/mainnet 上线:

一. 变更配置文件

    repl_contract: 
        - Mainnet: 0xD51Cb0FA9A91f156a80188a18f039140704b8df7
        - Calibration: 0x5c9d3502db845764240A38BD4a1AEDD2056DbCeA
    repl_auction_contract:
        - Mainnet: 0x763B29B97e75fB54923325d46bab2807Ac8C43c5
        - Calibration: 0x75300F6C5620b4161Fc0729b83cFFE72BdDE62C4

二. 删除表结构

drop table event_height_checkpoint;
drop table fevm_event;

三. 启动程序

四. 执行以下 API

curl --location --request POST 'http://localhost:7001/api/v1/deal-proposal-create-event-tracing-cron'
curl --location --request POST 'http://localhost:7001/api/v1/wfil-event-tracing-cron'
curl --location --request POST 'http://localhost:7001/api/v1/pfil-event-tracing-cron'
curl --location --request POST 'http://localhost:7001/api/v1/repl-event-tracing-cron'
curl --location --request POST 'http://localhost:7001/api/v1/repl-auction-event-tracing-cron'

五.额外在scheduler配置以下 API

curl --location --request POST 'http://localhost:7001/api/v1/repl-event-tracing-cron'
curl --location --request POST 'http://localhost:7001/api/v1/repl-auction-event-tracing-cron'

六.执行完毕,通知下我