Documentation
¶
Index ¶
- func Log(text string)
- func LogCreateFileOnPath(data string, path string)
- func LogLoop(s []string)
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) AddBatchHelper(ctx sdk.Context, msg *types.MsgAddBatch) *sdkerrors.Error
- func (k Keeper) AddExecutionLayerHelper(ctx sdk.Context, exelayer types.Exelayer, creator string) *sdkerrors.Error
- func (k Keeper) DecrementExecutionLayerCount(ctx sdk.Context)
- func (k Keeper) DeleteExecutionLayerHelper(ctx sdk.Context, address string, chainId string)
- func (k Keeper) GetBatch(goCtx context.Context, req *types.QueryGetBatchRequest) (*types.QueryGetBatchResponse, error)
- func (k Keeper) GetBatchHelper(ctx sdk.Context, chainId string, batchNumber uint64) (*types.BatchMax, bool)
- func (k Keeper) GetExecutionlayers(ctx sdk.Context, id string) (val types.Exelayer, found bool)
- func (k Keeper) GetExelayerById(ctx sdk.Context, id string) (val types.Exelayer, found bool)
- func (k Keeper) GetExelayerIdByAddress(ctx sdk.Context, address string) (val string, found bool)
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) GetPoll(goCtx context.Context, req *types.QueryGetPollRequest) (*types.QueryGetPollResponse, error)
- func (k Keeper) GetPollHelper(ctx sdk.Context, chainId string, pollId string) (types.Poll, error)
- func (k Keeper) GetVerificationKeyById(ctx sdk.Context, id string) (val types.Vkey, found bool)
- func (k Keeper) ListAllExecutionLayers(goCtx context.Context, req *types.QueryListAllExecutionLayersRequest) (*types.QueryListAllExecutionLayersResponse, error)
- func (k Keeper) ListPolls(goCtx context.Context, req *types.QueryListPollsRequest) (*types.QueryListPollsResponse, error)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) QVerifyBatch(goCtx context.Context, req *types.QueryQVerifyBatchRequest) (*types.QueryQVerifyBatchResponse, error)
- func (k Keeper) QueryVerifyBatchHelper(ctx sdk.Context, request *types.QueryQVerifyBatchRequest) *sdkerrors.Error
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) ShowExecutionLayerByAddress(goCtx context.Context, req *types.QueryShowExecutionLayerByAddressRequest) (*types.QueryShowExecutionLayerByAddressResponse, error)
- func (k Keeper) ShowExecutionLayerById(goCtx context.Context, req *types.QueryShowExecutionLayerByIdRequest) (*types.QueryShowExecutionLayerByIdResponse, error)
- func (k Keeper) UpdateExecutionLayer(ctx sdk.Context, executionLayer types.Exelayer) *sdkerrors.Error
- func (k Keeper) VerificationKey(goCtx context.Context, req *types.QueryVerificationKeyRequest) (*types.QueryVerificationKeyResponse, error)
- func (k Keeper) VerifyBatchHelper(ctx sdk.Context, msg *types.MsgVerifyBatch) *sdkerrors.Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogCreateFileOnPath ¶
func NewMsgServerImpl ¶
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey, memKey storetypes.StoreKey, ps paramtypes.Subspace, ) *Keeper
func (Keeper) AddBatchHelper ¶
func (Keeper) AddExecutionLayerHelper ¶
func (Keeper) DecrementExecutionLayerCount ¶
func (Keeper) DeleteExecutionLayerHelper ¶
func (Keeper) GetBatch ¶
func (k Keeper) GetBatch(goCtx context.Context, req *types.QueryGetBatchRequest) (*types.QueryGetBatchResponse, error)
func (Keeper) GetBatchHelper ¶
func (Keeper) GetExecutionlayers ¶
func (Keeper) GetExelayerById ¶
func (Keeper) GetExelayerIdByAddress ¶
func (Keeper) GetPoll ¶
func (k Keeper) GetPoll(goCtx context.Context, req *types.QueryGetPollRequest) (*types.QueryGetPollResponse, error)
func (Keeper) GetPollHelper ¶
func (Keeper) GetVerificationKeyById ¶
func (Keeper) ListAllExecutionLayers ¶
func (k Keeper) ListAllExecutionLayers(goCtx context.Context, req *types.QueryListAllExecutionLayersRequest) (*types.QueryListAllExecutionLayersResponse, error)
func (Keeper) ListPolls ¶
func (k Keeper) ListPolls(goCtx context.Context, req *types.QueryListPollsRequest) (*types.QueryListPollsResponse, error)
func (Keeper) Params ¶
func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) QVerifyBatch ¶
func (k Keeper) QVerifyBatch(goCtx context.Context, req *types.QueryQVerifyBatchRequest) (*types.QueryQVerifyBatchResponse, error)
func (Keeper) QueryVerifyBatchHelper ¶
func (Keeper) ShowExecutionLayerByAddress ¶
func (k Keeper) ShowExecutionLayerByAddress(goCtx context.Context, req *types.QueryShowExecutionLayerByAddressRequest) (*types.QueryShowExecutionLayerByAddressResponse, error)
func (Keeper) ShowExecutionLayerById ¶
func (k Keeper) ShowExecutionLayerById(goCtx context.Context, req *types.QueryShowExecutionLayerByIdRequest) (*types.QueryShowExecutionLayerByIdResponse, error)
func (Keeper) UpdateExecutionLayer ¶
func (Keeper) VerificationKey ¶
func (k Keeper) VerificationKey(goCtx context.Context, req *types.QueryVerificationKeyRequest) (*types.QueryVerificationKeyResponse, error)
func (Keeper) VerifyBatchHelper ¶
Source Files
¶
- batch.helper.go
- execution_layer.helper.go
- keeper.go
- logger.helper.go
- msg_server.go
- msg_server_add_batch.go
- msg_server_add_execution_layer.go
- msg_server_add_validator.go
- msg_server_delete_execution_layer.go
- msg_server_verify_batch.go
- msg_server_vote_poll.go
- params.go
- poll.helper.go
- query.go
- query_get_batch.go
- query_get_poll.go
- query_list_all_execution_layers.go
- query_list_polls.go
- query_params.go
- query_q_verify_batch.go
- query_show_execution_layer_by_address.go
- query_show_execution_layer_by_id.go
- query_verification_key.go
- validator.helper.go
- verifier.helper.go
Click to show internal directories.
Click to hide internal directories.