[Blockchain Watcher] (ACALA) Map acala redeem job (#1513)
Map acala redeem job Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro-2.local>
This commit is contained in:
parent
ea33058324
commit
748ccfb0db
|
@ -1823,6 +1823,36 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"chain": "acala",
|
||||||
|
"protocols": [
|
||||||
|
{
|
||||||
|
"addresses": [
|
||||||
|
"0xae9d7fe007b3327AA64A32824Aaac52C42a6E624",
|
||||||
|
"0xebA00cbe08992EdD08ed7793E07ad6063c807004"
|
||||||
|
],
|
||||||
|
"type": "Token Bridge",
|
||||||
|
"methods": [
|
||||||
|
{
|
||||||
|
"methodId": "0xc6878519",
|
||||||
|
"method": "MethodCompleteTransfer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"methodId": "0xff200cde",
|
||||||
|
"method": "MethodCompleteAndUnwrapETH"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"methodId": "0xe8059810",
|
||||||
|
"method": "MethodCreateWrapped"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"methodId": "0xf768441f",
|
||||||
|
"method": "MethodUpdateWrapped"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -230,6 +230,39 @@ data:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "poll-redeemed-transactions-acala",
|
||||||
|
"chain": "acala",
|
||||||
|
"source": {
|
||||||
|
"action": "PollEvm",
|
||||||
|
"records": "GetEvmTransactions",
|
||||||
|
"config": {
|
||||||
|
"blockBatchSize": 100,
|
||||||
|
"commitment": "latest",
|
||||||
|
"interval": 35000,
|
||||||
|
"filters": [
|
||||||
|
{
|
||||||
|
"addresses": [],
|
||||||
|
"type": "Portal Token Bridge (Connect, Portico, Omniswap, tBTC, etc)",
|
||||||
|
"topics": ["0xcaf280c8cfeba144da67230d9b009c8f868a75bac9a528fa0474be1ba317c169"],
|
||||||
|
"strategy": "GetTransactionsByLogFiltersStrategy"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"chain": "acala",
|
||||||
|
"chainId": 12
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"handlers": [
|
||||||
|
{
|
||||||
|
"action": "HandleEvmTransactions",
|
||||||
|
"target": "sns",
|
||||||
|
"mapper": "evmRedeemedTransactionFoundMapper",
|
||||||
|
"config": {
|
||||||
|
"metricName": "process_vaa_event"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
mainnet-jobs.json: |-
|
mainnet-jobs.json: |-
|
||||||
|
@ -461,6 +494,39 @@ data:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "poll-redeemed-transactions-acala",
|
||||||
|
"chain": "acala",
|
||||||
|
"source": {
|
||||||
|
"action": "PollEvm",
|
||||||
|
"records": "GetEvmTransactions",
|
||||||
|
"config": {
|
||||||
|
"blockBatchSize": 100,
|
||||||
|
"commitment": "latest",
|
||||||
|
"interval": 15000,
|
||||||
|
"filters": [
|
||||||
|
{
|
||||||
|
"addresses": [],
|
||||||
|
"type": "Portal Token Bridge (Connect, Portico, Omniswap, tBTC, etc)",
|
||||||
|
"topics": ["0xcaf280c8cfeba144da67230d9b009c8f868a75bac9a528fa0474be1ba317c169"],
|
||||||
|
"strategy": "GetTransactionsByLogFiltersStrategy"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"chain": "acala",
|
||||||
|
"chainId": 12
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"handlers": [
|
||||||
|
{
|
||||||
|
"action": "HandleEvmTransactions",
|
||||||
|
"target": "sns",
|
||||||
|
"mapper": "evmRedeemedTransactionFoundMapper",
|
||||||
|
"config": {
|
||||||
|
"metricName": "process_vaa_event"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
---
|
---
|
||||||
|
|
Loading…
Reference in New Issue