Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func NewHandler(keeper keeper.IKeeper, mkeeper MarketKeeper, ekeeper EscrowKeeper, authzKeeper AuthzKeeper) sdk.Handler
NewHandler returns a handler for "deployment" type messages
func NewServer ¶
func NewServer(k keeper.IKeeper, mkeeper MarketKeeper, ekeeper EscrowKeeper, authzKeeper AuthzKeeper) types.MsgServer
NewServer returns an implementation of the deployment MsgServer interface for the provided Keeper.
Types ¶
type AuthzKeeper ¶
type AuthzKeeper interface { DeleteGrant(ctx sdk.Context, grantee, granter sdk.AccAddress, msgType string) error GetCleanAuthorization(ctx sdk.Context, grantee, granter sdk.AccAddress, msgType string) (cap authz.Authorization, expiration time.Time) SaveGrant(ctx sdk.Context, grantee, granter sdk.AccAddress, authorization authz.Authorization, expiration time.Time) error }
type EscrowKeeper ¶
type EscrowKeeper interface { AccountCreate(ctx sdk.Context, id etypes.AccountID, owner, depositor sdk.AccAddress, deposit sdk.Coin) error AccountDeposit(ctx sdk.Context, id etypes.AccountID, depositor sdk.AccAddress, amount sdk.Coin) error AccountClose(ctx sdk.Context, id etypes.AccountID) error GetAccount(ctx sdk.Context, id etypes.AccountID) (etypes.Account, error) }
Click to show internal directories.
Click to hide internal directories.