Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- func NewQueryServerImpl(k Keeper) types.QueryServer
- type Keeper
- func (k Keeper) DequeueBitcoinModuleTx(ctx context.Context) (txs []*ethtypes.Transaction, err error)
- func (k Keeper) Logger() log.Logger
- func (k Keeper) MustHasKey(ctx context.Context, pubkey *relayertypes.PublicKey)
- func (k Keeper) NewPubkey(ctx context.Context, pubkey *relayertypes.PublicKey) error
- func (k Keeper) ProcessBridgeRequest(ctx context.Context, reqs goattypes.BridgeRequests) error
- func (k Keeper) VerifyDeposit(ctx context.Context, headers map[uint64][]byte, deposit *types.Deposit) (*types.DepositExecReceipt, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
func NewQueryServerImpl ¶
func NewQueryServerImpl(k Keeper) types.QueryServer
NewQueryServerImpl returns an implementation of the QueryServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct { Params collections.Item[types.Params] Pubkey collections.Item[relayertypes.PublicKey] BlockTip collections.Sequence BlockHashes collections.Map[uint64, []byte] Deposited collections.Map[collections.Pair[[]byte, uint32], uint64] EthTxNonce collections.Sequence Withdrawals collections.Map[uint64, types.Withdrawal] // processing withdrawal(a pair of txid and withdrawal id list) Processing collections.Map[[]byte, types.WithdrawalIds] EthTxQueue collections.Item[types.EthTxQueue] // contains filtered or unexported fields }
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, addressCodec address.Codec, storeService store.KVStoreService, logger log.Logger, relayerKeeper types.RelayerKeeper, ) Keeper
func (Keeper) DequeueBitcoinModuleTx ¶
func (Keeper) MustHasKey ¶
func (k Keeper) MustHasKey(ctx context.Context, pubkey *relayertypes.PublicKey)
MustHasKey is for genesis check
func (Keeper) ProcessBridgeRequest ¶
Click to show internal directories.
Click to hide internal directories.