Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeginBlocker ¶
BeginBlocker checks if there are any expired sell or buy orders and removes them from state.
func NewProposalHandler ¶
func NewProposalHandler(k ProposalKeeper) govtypes.Handler
Types ¶
type Keeper ¶
type Keeper interface { ProposalKeeper PruneOrders(ctx sdk.Context) error }
Keeper defines a set of methods the ecocredit module exposes.
func RegisterServices ¶
func RegisterServices( configurator server.Configurator, paramSpace paramtypes.Subspace, accountKeeper ecocredit.AccountKeeper, bankKeeper ecocredit.BankKeeper, ) Keeper
type ProposalKeeper ¶
type ProposalKeeper interface { AddCreditType(ctx sdk.Context, ctp *core.CreditTypeProposal) error AllowDenom(ctx sdk.Context, proposal *marketplace.AllowDenomProposal) error }
ProposalKeeper defines methods for ecocredit gov handlers.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.