ibc_channel

package
v1.6.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2022 License: Apache-2.0 Imports: 17 Imported by: 2

Documentation

Index

Constants

View Source
const (
	MIGRATION_TABLE_NAME = "ibc_channel_schema_migrations"
	MIGRATION_DIRECOTRY  = "projection/ibc_channel/migrations"
)

Projection IBCChannelTxMsgTrace needs the below const, for debug purpose

Variables

View Source
var (
	NewIBCChannels               = ibc_channel_view.NewIBCChannelsView
	NewIBCClients                = ibc_channel_view.NewIBCClientsView
	NewIBCConnections            = ibc_channel_view.NewIBCConnectionsView
	NewIBCDenomHashMapping       = ibc_channel_view.NewIBCDenomHashMappingView
	NewIBCChannelTraces          = ibc_channel_view.NewIBCChannelTraces
	UpdateLastHandledEventHeight = (*IBCChannel).UpdateLastHandledEventHeight
)

Functions

This section is empty.

Types

type Config

type Config struct {
	EnableTxMsgTrace bool
}

type IBCChannel

type IBCChannel struct {
	*rdbprojectionbase.Base
	// contains filtered or unexported fields
}

func NewIBCChannel

func NewIBCChannel(
	logger applogger.Logger,
	rdbConn rdb.Conn,
	config *Config,
	migrationHelper migrationhelper.MigrationHelper,
) *IBCChannel

func (*IBCChannel) GetEventsToListen

func (_ *IBCChannel) GetEventsToListen() []string

func (*IBCChannel) HandleEvents

func (projection *IBCChannel) HandleEvents(height int64, events []event_entity.Event) error

func (*IBCChannel) OnInit

func (projection *IBCChannel) OnInit() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL