Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func NewHandler(keeper keeper.IKeeper, mkeeper MarketKeeper, ekeeper EscrowKeeper) baseapp.MsgServiceHandler
NewHandler returns a handler for "deployment" type messages
func NewServer ¶
func NewServer(k keeper.IKeeper, mkeeper MarketKeeper, ekeeper EscrowKeeper) types.MsgServer
NewServer returns an implementation of the deployment MsgServer interface for the provided Keeper.
Types ¶
type AuthzKeeper ¶
type AuthzKeeper interface {
DeleteGrant(ctx context.Context, grantee sdk.AccAddress, granter sdk.AccAddress, msgType string) error
GetAuthorization(ctx context.Context, grantee sdk.AccAddress, granter sdk.AccAddress, msgType string) (authz.Authorization, *time.Time)
SaveGrant(ctx context.Context, grantee sdk.AccAddress, granter sdk.AccAddress, authorization authz.Authorization, expiration *time.Time) error
GetGranteeGrantsByMsgType(ctx context.Context, grantee sdk.AccAddress, msgType string, onGrant authzkeeper.OnGrantFn)
}
type BankKeeper ¶
type EscrowKeeper ¶
type EscrowKeeper interface {
AccountCreate(ctx sdk.Context, id escrowid.Account, owner sdk.AccAddress, deposits []etypes.Depositor) error
AccountDeposit(ctx sdk.Context, id escrowid.Account, deposits []etypes.Depositor) error
AccountClose(ctx sdk.Context, id escrowid.Account) error
AuthorizeDeposits(sctx sdk.Context, msg sdk.Msg) ([]etypes.Depositor, error)
}
Click to show internal directories.
Click to hide internal directories.