nyxd-scraper-shared 1.20.4

Common crate for the sqlite and psql Nyxd blockchain scrapers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2025 - Nym Technologies SA <contact@nymtech.net>
// SPDX-License-Identifier: Apache-2.0

use crate::{CosmosModule, MessageRegistry};
use ibc_proto::ibc::applications::interchain_accounts::controller::v1::{
    MsgRegisterInterchainAccount, MsgSendTx, MsgUpdateParams,
};

pub(crate) struct IbcInterchainAccountsController;

impl CosmosModule for IbcInterchainAccountsController {
    fn register_messages(&self, registry: &mut MessageRegistry) {
        registry.register::<MsgRegisterInterchainAccount>();
        registry.register::<MsgSendTx>();
        registry.register::<MsgUpdateParams>();
    }
}