v4

package
v0.0.0-...-cc3bc86 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MigrateStore

func MigrateStore(
	ctx sdk.Context,
	observerKeeper types.ObserverKeeper,
	crosschainKeeper crosschainKeeper,
) error

MigrateStore migrates the x/crosschain module state from the consensus version 3 to 4 It initializes the aborted zeta amount to 0

func MoveNonceToObserverModule

func MoveNonceToObserverModule(
	ctx sdk.Context,
	observerKeeper types.ObserverKeeper,
	crossChainStoreKey storetypes.StoreKey,
	cdc codec.BinaryCodec,
)

func MoveTssToObserverModule

func MoveTssToObserverModule(ctx sdk.Context,
	observerKeeper types.ObserverKeeper,
	crossChainStoreKey storetypes.StoreKey,
	cdc codec.BinaryCodec,
)

func SetBitcoinFinalizedInbound

func SetBitcoinFinalizedInbound(ctx sdk.Context, crosschainKeeper crosschainKeeper)

SetBitcoinFinalizedInbound sets the finalized inbound for bitcoin chains to prevent new ballots from being created with same inboundhash

func SetZetaAccounting

func SetZetaAccounting(
	ctx sdk.Context,
	crossChainStoreKey storetypes.StoreKey,
	cdc codec.BinaryCodec,
)

Types

This section is empty.

Jump to

Keyboard shortcuts

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