[Blockchain Watcher] (KLAYTN) Map klaytn redeem events (#1508)
Map klaytn redeem events Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro-2.local>
This commit is contained in:
parent
7bdc71cd62
commit
c234125904
|
@ -79,10 +79,7 @@
|
|||
"klaytn": {
|
||||
"network": "mainnet",
|
||||
"chainId": 13,
|
||||
"rpcs": [
|
||||
"https://klaytn-mainnet-rpc.allthatnode.com:8551",
|
||||
"https://public-en-cypress.klaytn.net"
|
||||
]
|
||||
"rpcs": ["https://public-en-cypress.klaytn.net"]
|
||||
},
|
||||
"celo": {
|
||||
"network": "mainnet",
|
||||
|
|
|
@ -1793,6 +1793,36 @@
|
|||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"chain": "klaytn",
|
||||
"protocols": [
|
||||
{
|
||||
"addresses": [
|
||||
"0x5b08ac39eaed75c0439fc750d9fe7e1f9dd0193f",
|
||||
"0xC7A13BE098720840dEa132D860fDfa030884b09A"
|
||||
],
|
||||
"type": "Token Bridge",
|
||||
"methods": [
|
||||
{
|
||||
"methodId": "0xc6878519",
|
||||
"method": "MethodCompleteTransfer"
|
||||
},
|
||||
{
|
||||
"methodId": "0xff200cde",
|
||||
"method": "MethodCompleteAndUnwrapETH"
|
||||
},
|
||||
{
|
||||
"methodId": "0xe8059810",
|
||||
"method": "MethodCreateWrapped"
|
||||
},
|
||||
{
|
||||
"methodId": "0xf768441f",
|
||||
"method": "MethodUpdateWrapped"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -197,6 +197,39 @@ data:
|
|||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "poll-redeemed-transactions-klaytn",
|
||||
"chain": "klaytn",
|
||||
"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": "klaytn",
|
||||
"chainId": 13
|
||||
}
|
||||
},
|
||||
"handlers": [
|
||||
{
|
||||
"action": "HandleEvmTransactions",
|
||||
"target": "sns",
|
||||
"mapper": "evmRedeemedTransactionFoundMapper",
|
||||
"config": {
|
||||
"metricName": "process_vaa_event"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
mainnet-jobs.json: |-
|
||||
|
@ -395,6 +428,39 @@ data:
|
|||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "poll-redeemed-transactions-klaytn",
|
||||
"chain": "klaytn",
|
||||
"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": "klaytn",
|
||||
"chainId": 13
|
||||
}
|
||||
},
|
||||
"handlers": [
|
||||
{
|
||||
"action": "HandleEvmTransactions",
|
||||
"target": "sns",
|
||||
"mapper": "evmRedeemedTransactionFoundMapper",
|
||||
"config": {
|
||||
"metricName": "process_vaa_event"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
---
|
||||
|
|
Loading…
Reference in New Issue