Commit Graph

104 Commits

Author SHA1 Message Date
Julian 967a504d76
[Blockchain Watcher] (CONFIG )Map chain id in mainnet config (#1461)
Map chain

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-06-04 11:24:12 -03:00
Julian 64a29f3cab
[Blockchain Watcher] (EVM) Improve redeem process (#1444)
* Improve redeem process

* Re factor process

* Improve implementation to process txs

* Change process

* Improve reedeem process

* Revert some changes

* Map target-events jobs

* Map new filters in pods

* Resolve test

* Map source filters on pods

* Remove sns change

* Remove config filters on handler

* Improve logs validation

* Improve logs

* Impelement strategy for transactions process

* Create strategy for transactions process

* Improve implentation

* Add error validations on logs filter

* Improve code with names and validations

* Improve evm process and add logs

* Improve code style

* Improve default process

* Improve DefaultProcess

* Improve NFT process and handler

* Re order pods

* Improve strategy code

* Improve default process

* Change celo batch

* Add strategy property on jobs

* Resolve test

* Improve filters method

* Remove contracts

* Resolve comment in PR

* Resolve comment in PR

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-06-03 17:14:31 -03:00
Julian b0f4f6e319
[Blockchain Watcher] (METRICS) Create metrics for job executions (#1451)
* Create metrics in pollingJob

* Create metrics in pollingJob

* Add number to metric

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-06-03 16:40:18 -03:00
Julian 8628d1f915
[Blockchain Watcher] (COSMOS) Map cosmos redeem (#1418)
* Map event for wormchain redeem

* Map redeem for osmosis

* Add new dependencies for cosmos

* Improve wormchain repository

* Map mainnet job

* Map kujira and injective redeem

* Map metricName

* Create retries

* Add test

* Map dependencies

* Map dependencies

* Merge to main

* Add redeem test

* Improve comments

* Map testnet job and rpcs

* Create wormchain repositories test

* Resolve test and metrics

* Improve StandardRelayer type

* Change name for ibc transaction

* Change name for ibc transaction

* Add array name for IBC transactions

* Resolve some comments

* Create test for getRedeems

* Resolve comment in PR

* Resolve comment in PR

* Resolve comment in PR

* Improve while

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-05-31 12:39:07 -03:00
Julian 4c4bf3ee90
[Blockchain Watcher] Improve variables and logs (#1447)
Improve variables and logs

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-05-28 15:51:18 -03:00
Julian 0248f706aa
[Blockchain Watcher] (FIX - XLAYER) Improve xlayer process (#1442)
Improve xlayer process

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-05-24 11:06:22 -03:00
Julian 73d4672709
[Blockchain Watcher] (STANDARD RELAYER(SCROLL - BLAST)) Map SR for scroll and blast (#1439)
Map SR for scroll and blast

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-05-23 13:22:56 -03:00
Julian 534fbbb47c
[Blockchain Watcher] (XLAYER) Map xlayer redeems (#1435)
* Map xlayer redeems

* Map redeem job for testnet

* Change blockBatchSize

* Mao xkayer on contractsMapperConfig

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-05-23 09:04:09 -03:00
Julian 9a749f0b0c
[Blockchain Watcher] (MANTLE) Map mantle events (#1357)
* Map blast chain

* Fix some files

* Map testnet chain

* Map config job

* Map mantle chain

* Map testnet contracts

* Map testnet contracts

* Map redeem for testnet job

* Change chain id

* Map in contractsMapper

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-05-22 14:28:14 -03:00
Julian 16e7dff7c2
[Blockchain Watcher] (PORTAL-TOKEN-BRIDGE) Map contracts for eth and avax (#1432)
Map contracts

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-05-21 12:33:04 -03:00
Julian 7c3ba9e6bc
[Blockchain Watcher] (CONTRACTS) Map contracts (#1426)
* Map contracts

* Map other contracts

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-05-21 08:48:18 -03:00
Julian 1e98c11985
[Blockchain Watcher] (CCTP) Map avalanche contract (#1425)
Map avalanche contract

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-05-20 12:32:51 -03:00
Julian 673259fccf
[Blockchain Watcher] (FIX) Cath no healthy providers (#1405)
Cath no healthy providers

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-05-15 12:19:41 -03:00
Julian c3950c4fb9
[Blockchain Watcher] (METRICS) Map block high diff metric (#1397)
* Map block high diff metric

* Map block high diff metric

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-05-07 17:14:45 -03:00
Julian a3743ebf8e
[Blockchain Watcher] (PORTAL - OMNISWAP) Map portal and Omniswap redeems (#1382)
* Map portal and Omniswap redeems

* Add new contracts

* Create new job for source events

* Create new job for source events

* Change method name

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-05-03 13:07:51 -03:00
Julian 3f71ca06b6
[Blockchain Watcher] (NTT) Map contracts for ETH and arbitrum (#1378)
Map one contract for ETH and arbitrum

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-05-02 14:57:39 -03:00
Julian 5bd3b34efa
[Blockchain Watcher] (TECHNICAL-DEBT) Remove enabledJobs config (#1375)
Remove config

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-05-02 11:01:15 -03:00
Julian 6624f7a295
[Blockchain Watcher] (TECHNICAL-DEBT) Add new config for enabledJobs (#1361)
Add new config for enabledJobs

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-05-02 10:29:26 -03:00
Julian a250bdc2fd
[Blockchain Watcher] (WORMCHAIN - FIX) Map rpcs for wormchain mainnet (#1371)
Map rpcs

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-30 13:17:20 -03:00
Julian 8bae784230
[Blockchain Watcher] (CONNECT) Integrate connect redeem (#1363)
Integrate connect

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-30 10:43:16 -03:00
Julian 0cf5874620
[Blockchain Watcher] (SCROLL) Map scroll mainnet contracts (#1369)
Map scroll mainnet contracts

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-29 15:16:37 -03:00
Julian f9d99ba25c
[Blockchain Watcher] (BLAST) Map blast chain (#1354)
* Map blast chain

* Fix some files

* Map testnet chain

* Map config job

* Map testnet contracts

* Remove mainnet jobs

* Map contract for core and token bridge job

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-29 13:35:55 -03:00
Julian 0cde483c95
[Blockchain Watcher] (tBTC) Map contracts for mainnet (#1353)
* Map contracts for mainnet

* Map contracts for mainnet

* Remove duplicated key

* Map testnet contracts

* Map testnet contracts in contatsMapperConfig

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-24 16:55:00 -03:00
Julian f0799cdd67
[Blockchain Watcher] (POLYGON AMOY) Map polygon amoy (#1350)
* Map polygon amoy

* Map polygon amoy

* Map env for yaml

* Map polygon goerli job

* Map contractsMapperConfig

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-24 15:06:41 -03:00
Julian e013f14968
[Blockchain Watcher] (FIX - SUI) Fix currentCheckpoint value for report metrics on grafana (#1345)
Fix currentCheckpoint value

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-23 14:51:52 -03:00
Julian 83987793ef
[Blockchain Watcher] (CCTP) Remove CCTP contracts (#1340)
Remove CCTP contracts

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-22 11:52:25 -03:00
Martin Picco 29d47197f5
Add W token NTT redeem tracking for solana (#1336) 2024-04-19 16:17:57 -03:00
Julian 550b7b1d54
[Blockchain Watcher] (W) Map evm NTT redeem (#1334)
Map evm NTT redeem

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-19 15:28:37 -03:00
Julian 2686bea37e
[Blockchain Watcher] (FIX - SOLANA) Map config for solana (#1331)
Map config for solana

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-18 18:04:02 -03:00
Julian 10df6821c0
[Blockchain Watcher] (FIX) Add logs for evm source events (#1316)
* Add chain in EvmLog entity

* Add new log for evm source events

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-17 17:09:33 -03:00
Julian 408a297b63
[Blockchain Watcher] (WORMCHAIN) Mapped wormchain source events (#1238)
* Mapped source events

* Set chainId for wormchain

* Add test

* Mapped testnet rpc

* Change blockBatchSize for 10 times per execution

* Improve log

* Improve code

* Remove console.log

* Resolved issue mapping tx hash

* Mapped txs array

* Add new test with 2 txs mapped

* Adapt endpoints implementation

* Improve log

* Resolve comment in PR

* Invert params in mapper

* Resolve test

* Resolve comment in PR

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-16 11:02:13 -03:00
Julian 6b67bf859e
[Blockchain Watcher] (SCROLL) Mapped scroll source and target events (#1304)
* Mapped scroll source and target events

* Remove jobs for mainnet

* Remove jobs for mainnet

* Mapped redeem contract

* Add aptos custom env

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-15 16:48:56 -03:00
Julian af4b03d1c3
[Blockchain Watcher] (NFT) Mapped contracts (#1282)
* Mapped contracts

* Mapped mainnet contracts

* Mapped protocol in sui log

* Adapt aptos process to allow multiply filters

* Mapped methodId for NFT aptos

* Improve filter name

* Improve source events filter

* Resolve test

* Add aptos custom variable

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-10 20:39:19 -03:00
Julian bc0014885e
[Blockchain Watcher] (NTT - FANTOM and ETH) Integrate support NTT for fantom (#1281)
* Integrate support NTT for fantom

* Integrate support NTT for ethereum

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-08 16:38:56 -03:00
Julian 11ecb6eb6d
[Blockchain Watcher] (TOKEN BRIDGE) Mapped token bridge chains (#1261)
* Mapped all evm chains

* Mapped topic for mainnet contracts

* Mapped testnet chains

* Mapped standar relayer topic for bnb

* Remove some contracts in config

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-08 12:47:53 -03:00
Julian 0e487dcdfa
[Blockchain Watcher] (FIX - APTOS) Improve aptos request (#1251)
* Improve aptos request

* Resolve comment in PR

* Improve httpClient and create constants

* Add start params

* Resolve comment in PR

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-08 12:41:46 -03:00
Julian 3830d288e2
[Blockchain Watcher] (FIX - MAYAN) Mapped new address (#1254)
Mapped new address

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-03-27 09:40:18 -03:00
Julian 6958d5b78b
[Blockchain Watcher] (FIX - MAYAN) Add mayan with payload address (#1242)
Add mayan with payload address

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-03-25 13:01:04 -03:00
Julian 10d683da64
[Blockchain Watcher] (FIX - APTOS) Fix aptos job (#1222)
* Fix job

* Improve solana log

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-03-15 17:52:55 -03:00
Martin Picco 277373bf57
[Blockchain Watcher] Add redeem tracking for native token transfers (NTT) for Solana (#1200)
* Ntt redeem tracking for solana

* Update NTT redeem addresses

* Update NTT target event addresses

* Update NTT methods config

* Add NTT method mapping for solana. Fix tests
2024-03-15 16:26:27 -03:00
Julian 960a8ed29e
[Blockchain Watcher] (MAYAN) Mapped MethodRedeemAndUnwrap method (#1219)
Mapped method

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-03-15 15:49:49 -03:00
Julian 8a23a69c57
[Blockchain Watcher] (APTOS) Integrate aptos source and redeemed events (#1174)
* First version

* Improve index

* Improve repository and mapper

* Resolve issues and add new pod for target events

* Resolve test and improve code

* Add test

* Resolve test

* Improve source event implementation

* Improve implementations and create test

* Remove hardcode params

* Change completed status

* Merge to main

* Improve code style

* Change current cursor value

* Improve comments

* improve domain event

* Add validation about differents blocks number

* Improve transaction and sequence implementation

* Set batches

* Resolve comment in PR

* Improve code

* Resolve comment in PR

* Integrate rpc poll for aptos

* Improve code

* Remove instrumented aptos client

* Improve test

* Improve errors message

* Improve transaction domain and test

* Remove block name in variables

* Resolved comment in PR

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-03-15 15:38:27 -03:00
Julian 071dc12296
[Blockchain Watcher] (STANDARD-RELAYER) Mapped standard relayer txs (#1216)
* Update env files

* Mapped contracts

* Mapped contracts

* Change commitment in base for latest, and mapped eth env

* Incrise attempts for retries

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-03-15 15:38:14 -03:00
Martin Picco a93dd4a036
[Blockchain Watcher] Add missing sui package id for testnet on the protocols map (#1206)
Add missing sui package id for testnet on the protocols map
2024-03-11 12:28:12 -03:00
Martin Picco 24c6683538
Add addresses normalization for the poll evm config (#1205) 2024-03-08 16:24:05 -03:00
Martin Picco 90fe8f29a1
Update NTT addresses for the testnet deploy (#1202)
Update NTT addresses for testnet
2024-03-08 15:49:12 -03:00
Martin Picco 847b8686d0
[Blockchain Watcher] Add redeem tracking for native token transfers (NTT) on EVM (#1178)
* Add redeem tracking for native token transfers (NTT)

* Add redeem tracking for native token transfers (NTT) through standard relaying

* Allow configuring the get evm transactions action to match multiple topics on one transactions by defining an array instead of a single string entry on the topics array

* Fill in mainnet and testnet standard relayers

* Remove filter field from HandleEvmTransactions filter

* Address some review comments

* Add ntt testnet contracts for both ethereum and arbitrum sepolia
2024-03-08 14:08:09 -03:00
Julian fa6196b02c
[Blockchain Watcher] (FIX ARBITRUM) Export environment variable to validate env (#1181)
* Export environment

* Resolve test

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-03-05 16:10:49 -03:00
Julian a55dbc6ccc
[Blockchain Watcher] (ARBITRUM) Improve arbitrum process (#1168)
* Improve arbitrum process

* Add comments

* Set final block for arbitrum

* Improve names

* Resolve comment

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-03-05 13:51:23 -03:00
Julian 54cf6c7e54
[Blockchain Watcher] (FIX) Move labels to json config (#1170)
* Move labels to json config

* Move labels to json config

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-03-01 11:56:09 -03:00