Versions in this module Expand all Collapse all v0 v0.1.0 Feb 14, 2020 Changes in this version + const DefaultParamspace + const ModuleName + const QueryParameters + const QueryRequest + const QuerySubscription + const RouterKey + const StoreKey + var CLIQueryParams = cli.QueryParams + var CLIQueryRequest = cli.QueryRequest + var CLIQuerySubscription = cli.QuerySubscription + var DefaultParams = types.DefaultParams + var GetRequestKey = types.GetRequestKey + var GetSubscriptionKey = types.GetSubscriptionKey + var ModuleCdc = types.ModuleCdc + var NewMsgGuardProof = types.NewMsgGuardProof + var NewMsgIntendSettle = types.NewMsgIntendSettle + var NewMsgRequestGuard = types.NewMsgRequestGuard + var NewMsgSubscribe = types.NewMsgSubscribe + var NewQueryRequestParams = types.NewQueryRequestParams + var NewQuerySubscriptionParams = types.NewQuerySubscriptionParams + var NewRequest = types.NewRequest + var NewSubscription = types.NewSubscription + var RegisterCodec = types.RegisterCodec + var RequestGuardIdKey = types.RequestGuardIdKey + var SubscriptionKeyPrefix = types.SubscriptionKeyPrefix + func EndBlocker(ctx sdk.Context, keeper Keeper) + func InitGenesis(ctx sdk.Context, keeper Keeper, data GenesisState) []abci.ValidatorUpdate + func NewHandler(keeper Keeper) sdk.Handler + func NewQuerier(keeper Keeper) sdk.Querier + func ParamKeyTable() params.KeyTable + func ValidateGenesis(data GenesisState) error + type AppModule struct + func NewAppModule(k Keeper, bankKeeper bank.Keeper) AppModule + func (AppModule) Name() string + func (am AppModule) BeginBlock(ctx sdk.Context, _ abci.RequestBeginBlock) + func (am AppModule) EndBlock(ctx sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate + func (am AppModule) ExportGenesis(ctx sdk.Context) json.RawMessage + func (am AppModule) InitGenesis(ctx sdk.Context, data json.RawMessage) []abci.ValidatorUpdate + func (am AppModule) NewHandler() sdk.Handler + func (am AppModule) NewQuerierHandler() sdk.Querier + func (am AppModule) QuerierRoute() string + func (am AppModule) RegisterInvariants(ir sdk.InvariantRegistry) + func (am AppModule) Route() string + type AppModuleBasic struct + func (AppModuleBasic) DefaultGenesis() json.RawMessage + func (AppModuleBasic) GetQueryCmd(cdc *codec.Codec) *cobra.Command + func (AppModuleBasic) GetTxCmd(cdc *codec.Codec) *cobra.Command + func (AppModuleBasic) Name() string + func (AppModuleBasic) RegisterCodec(cdc *codec.Codec) + func (AppModuleBasic) RegisterRESTRoutes(ctx context.CLIContext, rtr *mux.Router) + func (AppModuleBasic) ValidateGenesis(bz json.RawMessage) error + type GenesisState struct + Params Params + func DefaultGenesisState() GenesisState + func ExportGenesis(ctx sdk.Context, keeper Keeper) GenesisState + func NewGenesisState(params Params) GenesisState + type Keeper struct + func NewKeeper(storeKey sdk.StoreKey, cdc *codec.Codec, ethClient *mainchain.EthClient, ...) Keeper + func (k Keeper) ChargeRequestFee(ctx sdk.Context, ethAddr string) error + func (k Keeper) GetParams(ctx sdk.Context) types.Params + func (k Keeper) GetRequest(ctx sdk.Context, channelId []byte, peerFrom string) (Request, bool) + func (k Keeper) GetRequestGuardId(ctx sdk.Context) uint8 + func (k Keeper) GetSubscription(ctx sdk.Context, ethAddress string) (subscription Subscription, found bool) + func (k Keeper) IterateSubscriptions(ctx sdk.Context, handler func(subscription Subscription) (stop bool)) + func (k Keeper) RequestCost(ctx sdk.Context) (res sdk.Int) + func (k Keeper) RequestGuardCount(ctx sdk.Context) (res uint64) + func (k Keeper) SetParams(ctx sdk.Context, params types.Params) + func (k Keeper) SetRequest(ctx sdk.Context, request Request) + func (k Keeper) SetRequestGuardId(ctx sdk.Context, request uint8) + func (k Keeper) SetSubscription(ctx sdk.Context, subscription Subscription) + type MsgGuardProof = types.MsgGuardProof + type MsgIntendSettle = types.MsgIntendSettle + type MsgRequestGuard = types.MsgRequestGuard + type MsgSubscribe = types.MsgSubscribe + type Params = types.Params + type QueryRequestParams = types.QueryRequestParams + type QuerySubscriptionParams = types.QuerySubscriptionParams + type Request = types.Request + type Subscription = types.Subscription