Documentation ¶
Index ¶
- type Keeper
- func (k *Keeper) ApplyL1Txs(goCtx context.Context, msg *types.MsgApplyL1Txs) (*types.MsgApplyL1TxsResponse, error)
- func (k *Keeper) EmitEvents(goCtx context.Context, events sdk.Events)
- func (k *Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
- func (k *Keeper) GetL1BlockInfo(ctx sdk.Context) (*types.L1BlockInfo, error)
- func (k *Keeper) GetParams(ctx sdk.Context) (*types.Params, error)
- func (k *Keeper) InitGenesis(ctx sdk.Context, state types.GenesisState)
- func (k *Keeper) InitiateFeeWithdrawal(goCtx context.Context, _ *types.MsgInitiateFeeWithdrawal) (*types.MsgInitiateFeeWithdrawalResponse, error)
- func (k *Keeper) InitiateWithdrawal(goCtx context.Context, msg *types.MsgInitiateWithdrawal) (*types.MsgInitiateWithdrawalResponse, error)
- func (k *Keeper) L1BlockInfo(ctx context.Context, req *types.QueryL1BlockInfoRequest) (*types.QueryL1BlockInfoResponse, error)
- func (k *Keeper) Params(ctx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k *Keeper) SetL1BlockInfo(ctx sdk.Context, info types.L1BlockInfo) error
- func (k *Keeper) SetParams(ctx sdk.Context, params *types.Params) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeService store.KVStoreService, bankKeeper types.BankKeeper, accountKeeper types.AccountKeeper, ) *Keeper
func (*Keeper) ApplyL1Txs ¶
func (k *Keeper) ApplyL1Txs(goCtx context.Context, msg *types.MsgApplyL1Txs) (*types.MsgApplyL1TxsResponse, error)
ApplyL1Txs implements types.MsgServer.
func (*Keeper) EmitEvents ¶
EmitEvents prepares a `message` event with the module name and emits it along with the provided events.
func (*Keeper) ExportGenesis ¶ added in v0.1.3
func (k *Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
ExportGenesis returns a GenesisState for a given context and keeper
func (*Keeper) GetL1BlockInfo ¶ added in v0.1.2
func (*Keeper) InitGenesis ¶ added in v0.1.3
func (k *Keeper) InitGenesis(ctx sdk.Context, state types.GenesisState)
InitGenesis - Init store state from genesis data
func (*Keeper) InitiateFeeWithdrawal ¶ added in v0.1.3
func (k *Keeper) InitiateFeeWithdrawal( goCtx context.Context, _ *types.MsgInitiateFeeWithdrawal, ) (*types.MsgInitiateFeeWithdrawalResponse, error)
func (*Keeper) InitiateWithdrawal ¶
func (k *Keeper) InitiateWithdrawal( goCtx context.Context, msg *types.MsgInitiateWithdrawal, ) (*types.MsgInitiateWithdrawalResponse, error)
func (*Keeper) L1BlockInfo ¶ added in v0.1.3
func (k *Keeper) L1BlockInfo(ctx context.Context, req *types.QueryL1BlockInfoRequest) (*types.QueryL1BlockInfoResponse, error)
L1BlockInfo implements the Query/L1BlockInfo gRPC method
func (*Keeper) Params ¶ added in v0.1.3
func (k *Keeper) Params(ctx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
Params implements the Query/Params gRPC method
func (*Keeper) SetL1BlockInfo ¶ added in v0.1.3
SetL1BlockInfo sets the derived L1 block info in the rollup store.
Persisted data conforms to optimism specs on L1 attributes: https://github.com/ethereum-optimism/optimism/blob/develop/specs/deposits.md#l1-attributes-predeployed-contract
Click to show internal directories.
Click to hide internal directories.