Documentation
¶
Index ¶
- func DefaultGenesisParams() *escrowv1alpha1.GenesisState_Params
- func NewMsgServer(keeper Keeper) escrowv1alpha1.MsgServer
- func NewQueryServer(keeper Keeper) escrowv1alpha1.QueryServer
- type Keeper
- func (k Keeper) CreateAgent(ctx context.Context, creator sdk.AccAddress) (sdk.AccAddress, error)
- func (k Keeper) DefaultGenesis() *escrowv1alpha1.GenesisState
- func (k Keeper) Exec(ctx context.Context, agents []sdk.AccAddress, actions []*codectypes.Any) error
- func (k Keeper) ExportGenesis(ctx context.Context) (*escrowv1alpha1.GenesisState, error)
- func (k Keeper) GetAgent(ctx context.Context, address sdk.AccAddress) (*escrowv1alpha1.Agent, error)
- func (k Keeper) GetAuthority() sdk.AccAddress
- func (k Keeper) GetParams(ctx context.Context) (*escrowv1alpha1.Params, error)
- func (k Keeper) GetProposal(ctx context.Context, agent sdk.AccAddress) (*escrowv1alpha1.Proposal, error)
- func (k Keeper) InitGenesis(ctx context.Context, gs *escrowv1alpha1.GenesisState) error
- func (k Keeper) SubmitProposal(ctx context.Context, proposer, agent sdk.AccAddress, ...) error
- func (k Keeper) UpdateParams(ctx context.Context, newParams *escrowv1alpha1.Params) error
- func (k Keeper) ValidateGenesis(gs *escrowv1alpha1.GenesisState) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultGenesisParams ¶
func DefaultGenesisParams() *escrowv1alpha1.GenesisState_Params
func NewMsgServer ¶
func NewMsgServer(keeper Keeper) escrowv1alpha1.MsgServer
NewMsgServer returns an implementation of the MsgServer interface for the provided Keeper.
func NewQueryServer ¶
func NewQueryServer(keeper Keeper) escrowv1alpha1.QueryServer
NewQueryServer returns an implementation of the QueryServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.Codec, storeService store.KVStoreService, authority sdk.AccAddress, router expected.MessageRouter, authKeeper expected.AuthKeeper, ) (*Keeper, error)
func (Keeper) CreateAgent ¶
func (k Keeper) CreateAgent(ctx context.Context, creator sdk.AccAddress) (sdk.AccAddress, error)
func (Keeper) DefaultGenesis ¶
func (k Keeper) DefaultGenesis() *escrowv1alpha1.GenesisState
func (Keeper) Exec ¶
func (k Keeper) Exec(ctx context.Context, agents []sdk.AccAddress, actions []*codectypes.Any) error
func (Keeper) ExportGenesis ¶
func (k Keeper) ExportGenesis(ctx context.Context) (*escrowv1alpha1.GenesisState, error)
func (Keeper) GetAgent ¶
func (k Keeper) GetAgent(ctx context.Context, address sdk.AccAddress) (*escrowv1alpha1.Agent, error)
func (Keeper) GetAuthority ¶
func (k Keeper) GetAuthority() sdk.AccAddress
func (Keeper) GetProposal ¶
func (k Keeper) GetProposal(ctx context.Context, agent sdk.AccAddress) (*escrowv1alpha1.Proposal, error)
func (Keeper) InitGenesis ¶
func (k Keeper) InitGenesis(ctx context.Context, gs *escrowv1alpha1.GenesisState) error
func (Keeper) SubmitProposal ¶
func (k Keeper) SubmitProposal(ctx context.Context, proposer, agent sdk.AccAddress, preActions, postActions []*codectypes.Any, metadata string) error
func (Keeper) UpdateParams ¶
func (Keeper) ValidateGenesis ¶
func (k Keeper) ValidateGenesis(gs *escrowv1alpha1.GenesisState) error
Click to show internal directories.
Click to hide internal directories.