update event config
This commit is contained in:
parent
50dbe6b589
commit
de85530295
25
config/event_abis/TreasureHunt.json
Normal file
25
config/event_abis/TreasureHunt.json
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{
|
||||||
|
"anonymous": false,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"indexed": true,
|
||||||
|
"internalType": "address",
|
||||||
|
"name": "user",
|
||||||
|
"type": "address"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"indexed": true,
|
||||||
|
"internalType": "uint256",
|
||||||
|
"name": "action",
|
||||||
|
"type": "uint256"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"indexed": false,
|
||||||
|
"internalType": "uint256",
|
||||||
|
"name": "value",
|
||||||
|
"type": "uint256"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "ActionEvent",
|
||||||
|
"type": "event"
|
||||||
|
}
|
@ -1,42 +1,10 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"chain": 42161,
|
"chain": 5611,
|
||||||
"address": "0x3F13F83E6363D97d0353cAAfACA08B05D9BF3637",
|
"address": "0x0Fd13D2CD0B6c679B6f92590E0b91C18DDe7BD3A",
|
||||||
"event": "Transfer",
|
"event": "ActionEvent",
|
||||||
"abi": "ERC721_Transfer",
|
"abi": "TreasureHunt",
|
||||||
"fromBlock": 104992059,
|
"fromBlock": 26202217,
|
||||||
"eventProcesser": "NftHolder"
|
"eventProcesser": "GeneralEvent"
|
||||||
},
|
|
||||||
{
|
|
||||||
"chain": 42161,
|
|
||||||
"address": "0x79fc2a4216A1e595DBD09D13c4B4bD3B095d5bb2",
|
|
||||||
"event": "Transfer",
|
|
||||||
"abi": "ERC721_Transfer",
|
|
||||||
"fromBlock": 110028781,
|
|
||||||
"eventProcesser": "NftHolder"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"chain": 42161,
|
|
||||||
"address": "0xD728de3d9ebeD90E84aBe84539280cbC5b18E304",
|
|
||||||
"event": "Transfer",
|
|
||||||
"abi": "ERC721_Transfer",
|
|
||||||
"fromBlock": 110369163,
|
|
||||||
"eventProcesser": "NftHolder"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"chain": 42161,
|
|
||||||
"address": "0xefD4c863E73e7E9Cc33d46fB30CE51510FCFdeb0",
|
|
||||||
"event": "Transfer",
|
|
||||||
"abi": "ERC721_Transfer",
|
|
||||||
"fromBlock": 116977151,
|
|
||||||
"eventProcesser": "NftHolder"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"chain": 42161,
|
|
||||||
"address": "0x0cee888fA25810ca648D697099bc17a2c9E1dfBF",
|
|
||||||
"event": "Transfer",
|
|
||||||
"abi": "ERC721_Transfer",
|
|
||||||
"fromBlock": 148632616,
|
|
||||||
"eventProcesser": "NftHolder"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
@ -1,7 +1,7 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"chain": 5611,
|
"chain": 5611,
|
||||||
"fromBlock": 25776083,
|
"fromBlock": 26106343,
|
||||||
"filters": [{
|
"filters": [{
|
||||||
"key": "input",
|
"key": "input",
|
||||||
"op": "eq",
|
"op": "eq",
|
||||||
@ -11,13 +11,13 @@
|
|||||||
"key": "to",
|
"key": "to",
|
||||||
"op": "eq",
|
"op": "eq",
|
||||||
"type": "address",
|
"type": "address",
|
||||||
"value": "0x50a8e60041a206acaa5f844a1104896224be6f39"
|
"value": "0xcd4bb3402f1a444a1af10f31946ed37dac0eac4d"
|
||||||
}],
|
}],
|
||||||
"dataModel": "CheckIn"
|
"dataModel": "CheckIn"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"chain": 5611,
|
"chain": 5611,
|
||||||
"fromBlock": 25776083,
|
"fromBlock": 26106343,
|
||||||
"filters": [{
|
"filters": [{
|
||||||
"key": "input",
|
"key": "input",
|
||||||
"op": "like",
|
"op": "like",
|
||||||
@ -27,13 +27,13 @@
|
|||||||
"key": "to",
|
"key": "to",
|
||||||
"op": "eq",
|
"op": "eq",
|
||||||
"type": "address",
|
"type": "address",
|
||||||
"value": "0x50a8e60041a206acaa5f844a1104896224be6f39"
|
"value": "0xcd4bb3402f1a444a1af10f31946ed37dac0eac4d"
|
||||||
}],
|
}],
|
||||||
"dataModel": "ChestRecord"
|
"dataModel": "ChestRecord"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"chain": 5611,
|
"chain": 5611,
|
||||||
"fromBlock": 25776083,
|
"fromBlock": 26106343,
|
||||||
"filters": [{
|
"filters": [{
|
||||||
"key": "input",
|
"key": "input",
|
||||||
"op": "like",
|
"op": "like",
|
||||||
@ -43,13 +43,13 @@
|
|||||||
"key": "to",
|
"key": "to",
|
||||||
"op": "eq",
|
"op": "eq",
|
||||||
"type": "address",
|
"type": "address",
|
||||||
"value": "0x50a8e60041a206acaa5f844a1104896224be6f39"
|
"value": "0xcd4bb3402f1a444a1af10f31946ed37dac0eac4d"
|
||||||
}],
|
}],
|
||||||
"dataModel": "GenernalScription"
|
"dataModel": "GenernalScription"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"chain": 5611,
|
"chain": 5611,
|
||||||
"fromBlock": 25776083,
|
"fromBlock": 26106343,
|
||||||
"filters": [{
|
"filters": [{
|
||||||
"key": "input",
|
"key": "input",
|
||||||
"op": "like",
|
"op": "like",
|
||||||
@ -59,13 +59,13 @@
|
|||||||
"key": "to",
|
"key": "to",
|
||||||
"op": "eq",
|
"op": "eq",
|
||||||
"type": "address",
|
"type": "address",
|
||||||
"value": "0x50a8e60041a206acaa5f844a1104896224be6f39"
|
"value": "0xcd4bb3402f1a444a1af10f31946ed37dac0eac4d"
|
||||||
}],
|
}],
|
||||||
"dataModel": "GenernalScription"
|
"dataModel": "GenernalScription"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"chain": 5611,
|
"chain": 5611,
|
||||||
"fromBlock": 25776083,
|
"fromBlock": 26106343,
|
||||||
"filters": [{
|
"filters": [{
|
||||||
"key": "input",
|
"key": "input",
|
||||||
"op": "like",
|
"op": "like",
|
||||||
@ -75,7 +75,7 @@
|
|||||||
"key": "to",
|
"key": "to",
|
||||||
"op": "eq",
|
"op": "eq",
|
||||||
"type": "address",
|
"type": "address",
|
||||||
"value": "0x50a8e60041a206acaa5f844a1104896224be6f39"
|
"value": "0xcd4bb3402f1a444a1af10f31946ed37dac0eac4d"
|
||||||
}],
|
}],
|
||||||
"dataModel": "GenernalScription"
|
"dataModel": "GenernalScription"
|
||||||
}
|
}
|
||||||
|
@ -1,39 +1,5 @@
|
|||||||
{
|
{
|
||||||
"apps": [
|
"apps": [
|
||||||
{
|
|
||||||
"name": "chain-client",
|
|
||||||
"script": "./dist/api.js",
|
|
||||||
"cwd": "/root/code/web_chain_client",
|
|
||||||
"max_memory_restart": "1024M",
|
|
||||||
"watch": false,
|
|
||||||
"ignore_watch": ["node_modules", "logs", "fixtures", "tasks"],
|
|
||||||
"instances": 1,
|
|
||||||
"exec_mode": "fork",
|
|
||||||
"env": {
|
|
||||||
"NODE_ENV": "production",
|
|
||||||
"NODE_PATH": "./dist"
|
|
||||||
},
|
|
||||||
"env_production": {
|
|
||||||
"NODE_ENV": "production"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "chain-scriptions",
|
|
||||||
"script": "./dist/scriptions.js",
|
|
||||||
"cwd": "/root/code/web_chain_client",
|
|
||||||
"max_memory_restart": "1024M",
|
|
||||||
"watch": false,
|
|
||||||
"ignore_watch": ["node_modules", "logs", "fixtures", "tasks"],
|
|
||||||
"instances": 1,
|
|
||||||
"exec_mode": "fork",
|
|
||||||
"env": {
|
|
||||||
"NODE_ENV": "production",
|
|
||||||
"NODE_PATH": "./dist"
|
|
||||||
},
|
|
||||||
"env_production": {
|
|
||||||
"NODE_ENV": "production"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "chain-events",
|
"name": "chain-events",
|
||||||
"script": "./dist/events.js",
|
"script": "./dist/events.js",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user