Commit Graph

290 Commits

Author SHA1 Message Date
Julian 98a4430bc8
[Blockchain Watcher] (NTT - layer3) Replace layer3 contract in solana (#1776)
Replace NTT contract for solana

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Air.local>
2024-10-08 16:18:22 -03:00
Sebastian Cavedale 74ca8482c4
keda: tx-tracker scaledObject update (#1774)
* tx-tracker: added secondary queue as trigger

* tx-tracker: updated SCALE_VALUE value
2024-10-08 12:53:51 -03:00
Julian f6cc01add5
[Blockchain Watcher] (NTT - layer3) Replace layer3 contract in solana (#1773)
Replace contract

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Air.local>
2024-10-08 09:54:45 -03:00
Julian 7206d079e3
[Blockchain Watcher] (NTT - layer3) Map NTT contract for layer3 in solana (#1772)
Map contract

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Air.local>
2024-10-07 16:30:19 -03:00
Julian c6baa96e87
[Blockchain Watcher] (BERACHAIN) Map berachain in testnet (#1770)
* Map berachain in testnet

* Create custom variables

* Map redeem job

* Create custom variables

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Air.local>
2024-10-07 16:08:27 -03:00
Sebastian Cavedale 971f9368f2
keda: fixed ScaledObject parameter value type (#1765)
* keda: turned queueLength's value into string

* keda: renamed TriggerAuthentication

* keda: updated max replica count for staging-mainnet
2024-10-04 18:04:46 -03:00
Julian 4911f06c0a
[Blockchain Watcher] (NTT - SOLANA) Map NTT contracts for solana (#1763)
Map contracs

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Air.local>
2024-10-04 11:51:17 -03:00
Julian c14f190fcc
[Blockchain Watcher] (MAYAN - SOLANA) Map mayan redeem in solana (#1755)
* Map mayan redeem in solana

* Map mayan redeem in solana

* Map mayan contract in the pod

* Improve variable

* Improve instruction data mapper

* Remove undefined validation

* Improve method name

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Air.local>
2024-10-03 15:24:30 -03:00
Mariano 69ad38c6d9
setup protocols envs (#1752)
setup protocols envs
2024-10-02 16:24:32 -03:00
Mariano c404a9a032
[1693] Update /protocols/stats to use latest Mayan stats (#1722)
* multiple changes

* fix Mayan endpoint

* rename unit-tess

* fix log tag

* fix unit-tests

* add missing env var

* add missing env var
2024-10-01 11:09:13 -03:00
Julian a489541ba7
[Blockchain Watcher] (JOBS) Create new jobs for finalized commitment (#1734)
* Create new jobs

* Improve arbitrum repository

* Create new job for finalized pods

* Map ethereum job

* Remove target-events-4 pod

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Air.local>
2024-09-30 11:32:45 -03:00
Julian 17e0b3397f
[Blockchain Watcher] (KLAYTN) Map standard relayer in klaytn (#1731)
Map standard relayer in klaytn

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Air.local>
2024-09-26 16:07:20 -03:00
Julian 39d952bc47
[Blockchain Watcher] (FIX) Validate tx logs to process correctly (#1704)
* Improve standard relayer mapper

* Improve standard relayer mapper

* Filter logs by topic

* Create random key for sns message

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Air.local>
2024-09-18 10:59:16 -03:00
Julian a96572e03b
[Blockchain Watcher] (MCTP) Feature 1652/map mctp events (#1692)
* Map CMTP events like CCTP

* Rename mapVaaFromFunction

* Run MCTP by contract and topic

* Improve abi format

* Rename standarRelayer in contract mapper

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Air.local>
2024-09-17 15:43:48 -03:00
Julian f80e1c7a46
[Blockchain Watcher] (FAST TRANSFER) Add fast transfer for arb and bsc (#1672)
* Add contract and protocols

* Improve methods mapper

* Map solana fastTransfer tx

* Resolve test

* Create test and map slow transfer

* Improve findProtocol method

* Remove mainnet rpc

* Validate FunctionCall in near

* Remove base rpc

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Air.local>
2024-09-13 18:04:31 -03:00
Julian 7e1ba4884c
[Blockchain Watcher] (JOB) Split circle jobs in evm and solana (#1689)
* Split circle jobs in evm and solana

* Map custom variable for acala

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Air.local>
2024-09-13 09:18:44 -03:00
Julian 847a9b1336
[Blockchain Watcher] (MAYAN WITH SWIFT) Add swift for evm chains (#1686)
* Add filter for evm

* Resolve testcd '/Users/julianmerlo/Desktop/wormhole-explorer/blockchain-watcher'

* Remove fast transfer mapper

* Improve decoded nadme variable

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Air.local>
2024-09-12 11:31:38 -03:00
Julian ad9e22a820
[Blockchain Watcher] (SOLANA) Create wrapper and offline method (#1669)
* Create wrapper and offline method

* Improve comments

* Improve InstrumentedConnectionWrapper

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Air.local>
2024-09-11 08:33:49 -03:00
Julian ccf605af40
[Blockchain Watcher] (STANDARD RELAYER - SNAXCHAIN) Map contract for standard relayer (#1682)
Map contract for standard relayer

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Air.local>
2024-09-10 15:30:17 -03:00
walker-16 17b70402cb
1621 new endpoint for ntt token dashboard (#1641)
* Add ntt protocol tasks for influx

Co-authored-by: walker-16 <agpazos85@gmail.com>

* add ntt stats endpoints to to api

* add summary ntt endpoint

* add ntt chain activity endpoint

* add ntt transfers by time endpoint

* add top ntt transfers by address

* add swagger documentation for ntt enpoints
add changes in api deployment

Co-authored-by: walker-16 <agpazos85@gmail.com>

* add ntt address job and endpoint in api

* modify ntt address job and api

* add ntt address stats job deployment

* add top holder stats

* add ntt top holder stats jobs and deployment

Co-authored-by: walker-16 <agpazos85@gmail.com>

* add doc for ntt top holder endpoint

* add job and refactor api for ntt median metrics

Co-authored-by: ftocal <fert1335@gmail.com>

* Add ntt-median-stats-hourly jobs deployment

Co-authored-by: walker-16 <agpazos85@gmail.com>

* Add middleware for not supported env for ntt endpoints

Co-authored-by: walker-16 <agpazos85@gmail.com>

---------

Co-authored-by: Fernando Torres <fert1335@gmail.com>
2024-09-04 10:56:18 -03:00
Julian 95a91cb668
[Blockchain Watcher] (CONFIG) Rename jobs pvc (#1653)
* Rename jobs pvc

* Rename jobs pvc

* Remove fromBlock value

* Add klayer ankr rpc for testnet

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Air.local>
2024-09-02 12:13:48 -03:00
Martin Picco 4599e5c1ac
Add snaxchain to common and tx-tracker. Upgrade wh sdk dep (#1634)
* Add snaxchain to common and tx-tracker. Upgrade wh sdk dep

* Add env defaults
2024-08-30 15:09:32 -04:00
Julian 6f12867cdd
[Blockchain Watcher] (STANDARD RELAYER) Skip redelivery for Standard Relayer (#1640)
* Skip redelivery for Standard Relayer

* Imporve const names

* Replace abi object for abis object array

* Replace abi object for abis object array

* Resolve comment in PR

* Improve filter type

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Air.local>
2024-08-30 13:06:10 -03:00
Julian 676b7b8f99
[Blockchain Watcher] (SOLANA - CCTP) Track cctp solana events for circle (#1635)
* wip: cctp tracking for solana

* Validate innerTx and map protocol

* Map circle index

* Resolve test

* Validate acount content fetch with pubSub

* Add comments

* Map job in circle pod

* Create cttp test for solana

* Map protocol method

* Validate WH contract to map protocol

* Validate protocol and improve unit test

* Resolve comment in PR

* Resolve comment in PR

* Re use constant

* Re use constant

---------

Co-authored-by: M-Picco <martin@xlabs.xyz>
Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Air.local>
2024-08-29 19:39:32 -03:00
Julian 1137656b27
[Blockchain Watcher] (CONFIG) Map influx variables (#1632)
Map influx variables

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Air.local>
2024-08-26 11:19:26 -03:00
Julian 888aa3a135
[Blockchain Watcher] (CONFIG) Add RollingUpdate strategy in pods deploy (#1629)
* Add rollingupdate strategy in pods deploy

* Remove comments

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Air.local>
2024-08-23 10:37:42 -03:00
Julian f613f4faa3
[Blockchain Watcher] (CONFIG) Map rpcs variables in evm files (#1628)
Map rpcs variables in evm files

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Air.local>
2024-08-22 16:44:54 -03:00
Julian b9f883d8e4
[Blockchain Watcher] (SNAXCHAIN) Support snaxchain source and redeem events (#1625)
* Support snaxchain source and redeem events

* Change chainId for 43

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Air.local>
2024-08-22 10:39:52 -03:00
Julian d541de73df
[Blockchain Watcher] (NEAR) Map variables in all envs (#1624)
* Map variables in all envs

* Map oasis env

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Air.local>
2024-08-21 12:05:39 -03:00
Julian 2c80151278
[Blockchain Watcher] (NEAR) Support near events (#1591)
* Catch all errors to set up provider offline

* Map near events

* Map getTransactions method

* Try to map redeem events

* Map near transactions

* Create near parser and map vaa information

* Resolve duplicated txs and test

* Create near test

* Resolve test

* Validate if tx exists

* Validate if chunks exists

* Merge to main

* Resolve test

* Resolve comment in PR

* Improve Near process

* Improve near process adding promise all

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Air.local>
2024-08-21 11:47:41 -03:00
Julian d7707dadde
[Blockchain Watcher] Map new ntt contract for solana (#1619)
feature/map-new-ntt-contract

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Air.local>
2024-08-20 13:50:50 -03:00
walker-16 1bc15cf5ec
remove contact-watcher component (#1579)
* remove contact-watcher component

* Remove contract-watcher from Makefile and go.work

---------

Co-authored-by: Fernando Torres <fert1335@gmail.com>
2024-08-15 14:28:00 -03:00
Julian bdb9e5df1e
[Blockchain Watcher] (FIX) Improve code (#1586)
* Validate txs process in repository

* Change commitment in circle jobs for latest

* Improve rateLimited class

* Map interval and attempts variable

* Improve retry log

* Improve for process

* Remove arbitrum rpc

* Add testnet jobs for cctp

* Resolve comment in PR

* Set up finalized commitment

* Improve log error in evm repository

* Map fromConfigs method into HealthyProvidersPool

* Reduce test coverage

* Resolve comment in PR

* Remove reqs param in log

* Change blockBatchSize value for acala

* Change blockBatchSize value for acala
2024-08-09 16:19:59 -03:00
Julian 58f8dfcc36
[Blockchain Watcher] (FIX - INFLUX) Rename tags and logs (#1580)
* Rename tags and logs

* Validate arg length

* Add try and catch involve decode

* Manually deserialize circle messages to skip those that may not be CCTP

* Rename pod

* Skip influx point fields if already present in tags

* Rename circle message sent tags

* Validate transactionReceipts

* Add circle contract in jobs

* Add warning log in getTransactionReceipt method

* Merge to main

* Re-order base rpcs

---------

Co-authored-by: M-Picco <martin@xlabs.xyz>
2024-08-01 16:47:44 -03:00
Julian 8b41acb0e0
[Blockchain Watcher] (CCTP - INFLUX) Integrate cctp volumen job (#1569)
* Integrate cctp volumen job

* Remove comment

* Resolve test

* Create new pod and jobs

* Replace package-lock

* Replace package-lock

* Create evmLogMessageSentMapper test

* Change jobs strategy

* Map custom variables in pod

* Validate valid domains

* Validate Noble domain for sdk

* Resolve test

* Resolve comment in PR

* Move tags outside attributes

* Resolve comment in PR
2024-07-30 18:41:26 -03:00
Julian 615e0e9ff1
[Blockchain Watcher] (COSMOS - XPLA) Map xpla events (#1560)
* Map terra and terra2 events

* Resolve test

* Improve cosmos process

* Improve terra2 validations

* Improve terra2 validations

* Improve tx validations

* Map xpla source and target events

* Change blockBatchSize for 50

* Change promise all for sequentially process

* Change blockBatchSize value for 100

* Replace blockBatchSize value for 50

* Change config value

* Resolve comment in PR

* Improve pool generation

---------

Co-authored-by: julian merlo <julianmerlo@192.168.1.108>
Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro-2.local>
2024-07-22 18:08:04 -03:00
Julian a5cb5910f0
[Blockchain Watcher] (COSMOS - TERRA - TERRA2) Map terra and terra2 events (#1558)
* Map terra and terra2 events

* Resolve test

* Improve cosmos process

* Improve terra2 validations

* Improve terra2 validations

* Improve tx validations

* Change promise all for sequentially process

* Change blockBatchSize value for 100

* Resolve comment in PR

* Improve pool generation

---------

Co-authored-by: julian merlo <julianmerlo@192.168.1.108>
Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro-2.local>
2024-07-22 18:02:01 -03:00
Mariano 6ab6824d82
[1520] Retrieve the feeUSD from coingecko in tx-tracker [WIP] (#1541)
* start implementing retrieving the feeUSD from coingecko

* add missing pricesApi in the initialization of tx-tracker service

* add missing initialization

* add missing cfg for coingecko properties

* fix solana in url

* replace coingecko api call with notional redis client

* add native token list in commons

* add decimal places

* change feeUSD to Raw.GasPrice

* add check for mainnet

* replace with sdk const for more coupling

* replace pricesApi with notionalCache

* undo changes on pricesApi

* undo more stuff

* remove lines

* remove unused timestamp

* remove unused props

* remove

* fix indent

* fix import

* change

* add cache configs

* change token_address to native

* fixes

* fix BNB coingeckoID

* fix polygon coingecko_id

* change to lowercase

* adjust type FeeDoc in operations endpoint

* change Blast native token

* pr review changes

* code-review fixes

* comment wormchain

* rename var

* add comment to wormchain gas token map entry
2024-07-15 15:43:53 -03:00
Martin Picco a55451968f
Fix arbitrum sepolia chain id for blockchain watcher job (#1544) 2024-07-12 15:35:29 -03:00
Julian dee5183cf7
[Blockchain Watcher] (PODS) Change interval values (#1536)
* Change interval values

* Revert xlayer change

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro-2.local>
2024-07-04 15:16:38 -03:00
Julian d5131fb043
[Blockchain Watcher] (SOLANA - FIX) Map new contracts for NTT (#1532)
Map new contracts for NTT

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro-2.local>
2024-07-03 15:26:28 -03:00
Julian 748ccfb0db
[Blockchain Watcher] (ACALA) Map acala redeem job (#1513)
Map acala redeem job

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro-2.local>
2024-06-26 16:18:46 -03:00
Julian cc1f63ef55
[Blockchain Watcher] Map custom variable for wormchain (#1509)
Map variable

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro-2.local>
2024-06-26 13:26:30 -03:00
Julian c234125904
[Blockchain Watcher] (KLAYTN) Map klaytn redeem events (#1508)
Map klaytn redeem events

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro-2.local>
2024-06-26 10:30:06 -03:00
Julian 7bdc71cd62
[Blockchain Watcher] (FIX - ALGORAND) Mapped grafana config to source events (#1507)
Mapped grafana config to source events

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro-2.local>
2024-06-26 09:50:43 -03:00
Julian 6f7d457386
[Blockchain Watcher] (ALGORAND) Map algorand events (source and target) (#1505)
* Start implement algorand events

* Create handler and improve repository

* Create mapper for redeem events

* Resolve some //TODO comments

* Support source events

* Improve application id name

* Validate payload length

* Validate logs property

* Add all test for infrastructere and domain

* Improve code

* Remove any type

* Remove throw for wormchain

* Resolve comment in PR

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro-2.local>
2024-06-25 16:56:15 -03:00
Julian e0f7a4fe2b
[Blockchain Watcher] (KARURA) Map karura redeem events (#1503)
* Map jobs

* Map jobs

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro-2.local>
2024-06-20 16:41:06 -03:00
Martin Picco f007825be4
Add redeem tracking for fast transfers on testnet (#1492) 2024-06-13 17:49:51 -03:00
Julian 7e91150942
[Blockchain Watcher] (NTT - SOLANA) Map contract for NTT protocol (#1489)
Map contract for NTT protocol

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro-2.local>
2024-06-13 15:52:28 -03:00
Julian b4a5836935
[Blockchain Watcher] (SEI) Map redeems events for sei (#1482)
* Create new process for sei redeems

* Improve sei process

* Resolve test

* Create GetSevRedeems test

* Create action test

* Improve code style

* Resolve PR comments

* Resolve PR comments

* Map total_count property

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro-2.local>
2024-06-12 09:21:37 -03:00