Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) Delete(ctx sdk.Context, key []byte, prefix []byte)
- func (k Keeper) Get(ctx sdk.Context, key []byte, prefix []byte, unmarshal UnmarshalFn) (i interface{}, found bool)
- func (k Keeper) GetAll(ctx sdk.Context, prefix []byte) sdk.Iterator
- func (k Keeper) GetClaim(ctx sdk.Context, id string) (types.Claim, error)
- func (k Keeper) GetClaims(ctx sdk.Context) []types.Claim
- func (k Keeper) GetClaimsIterator(ctx sdk.Context) sdk.Iterator
- func (k Keeper) GetCollection(ctx sdk.Context, id string) (types.Collection, error)
- func (k Keeper) GetCollections(ctx sdk.Context) []types.Collection
- func (k Keeper) GetCollectionsIterator(ctx sdk.Context) sdk.Iterator
- func (k Keeper) GetDispute(ctx sdk.Context, proof string) (types.Dispute, error)
- func (k Keeper) GetDisputes(ctx sdk.Context) []types.Dispute
- func (k Keeper) GetDisputesIterator(ctx sdk.Context) sdk.Iterator
- func (k Keeper) GetParams(ctx sdk.Context) (params types.Params)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Marshal(value interface{}) (bytes []byte)
- func (k Keeper) Set(ctx sdk.Context, key []byte, prefix []byte, i interface{}, marshal MarshalFn)
- func (k Keeper) SetClaim(ctx sdk.Context, data types.Claim)
- func (k Keeper) SetCollection(ctx sdk.Context, data types.Collection)
- func (k Keeper) SetDispute(ctx sdk.Context, data types.Dispute)
- func (k Keeper) SetParams(ctx sdk.Context, params *types.Params)
- func (k Keeper) Unmarshal(data []byte, val codec.ProtoMarshaler) bool
- func (k Keeper) UnmarshalClaim(value []byte) (interface{}, bool)
- func (k Keeper) UnmarshalCollection(value []byte) (interface{}, bool)
- func (k Keeper) UnmarshalDispute(value []byte) (interface{}, bool)
- type MarshalFn
- type Migrator
- type Querier
- func (q Querier) Claim(c context.Context, req *types.QueryClaimRequest) (*types.QueryClaimResponse, error)
- func (q Querier) ClaimList(c context.Context, req *types.QueryClaimListRequest) (*types.QueryClaimListResponse, error)
- func (q Querier) Collection(c context.Context, req *types.QueryCollectionRequest) (*types.QueryCollectionResponse, error)
- func (q Querier) CollectionList(c context.Context, req *types.QueryCollectionListRequest) (*types.QueryCollectionListResponse, error)
- func (q Querier) Dispute(c context.Context, req *types.QueryDisputeRequest) (*types.QueryDisputeResponse, error)
- func (q Querier) DisputeList(c context.Context, req *types.QueryDisputeListRequest) (*types.QueryDisputeListResponse, error)
- func (q Querier) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- type UnmarshalFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct { AuthzKeeper authzkeeper.Keeper IidKeeper iidkeeper.Keeper BankKeeper bankkeeper.Keeper EntityKeeper entitykeeper.Keeper WasmKeeper wasmtypes.ContractOpsKeeper // contains filtered or unexported fields }
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey, memKey sdk.StoreKey, ps paramtypes.Subspace, iidKeeper iidkeeper.Keeper, authzKeeper authzkeeper.Keeper, bankKeeper bankkeeper.Keeper, entityKeeper entitykeeper.Keeper, wasmKeeper wasmkeeper.Keeper, ) Keeper
func (Keeper) Get ¶
func (k Keeper) Get( ctx sdk.Context, key []byte, prefix []byte, unmarshal UnmarshalFn, ) (i interface{}, found bool)
Get gets an item from the store by bytes
func (Keeper) GetCollection ¶
func (Keeper) GetCollections ¶
func (k Keeper) GetCollections(ctx sdk.Context) []types.Collection
func (Keeper) GetCollectionsIterator ¶
func (Keeper) GetDispute ¶
func (Keeper) GetDisputesIterator ¶
func (Keeper) SetCollection ¶
func (k Keeper) SetCollection(ctx sdk.Context, data types.Collection)
func (Keeper) Unmarshal ¶
func (k Keeper) Unmarshal(data []byte, val codec.ProtoMarshaler) bool
Unmarshal unmarshal a byte slice to a struct, return false in case of errors
func (Keeper) UnmarshalClaim ¶
func (Keeper) UnmarshalCollection ¶
func (Keeper) UnmarshalDispute ¶
type MarshalFn ¶
type MarshalFn func(value interface{}) []byte
MarshalFn is a generic function to marshal bytes
type Migrator ¶
type Migrator struct {
// contains filtered or unexported fields
}
Migrator is a struct for handling in-place store migrations.
type Querier ¶
type Querier struct {
Keeper
}
Querier defines a wrapper around the x/claims keeper providing gRPC method handlers.
func NewQuerier ¶
func (Querier) Claim ¶
func (q Querier) Claim(c context.Context, req *types.QueryClaimRequest) (*types.QueryClaimResponse, error)
func (Querier) ClaimList ¶
func (q Querier) ClaimList(c context.Context, req *types.QueryClaimListRequest) (*types.QueryClaimListResponse, error)
func (Querier) Collection ¶
func (q Querier) Collection(c context.Context, req *types.QueryCollectionRequest) (*types.QueryCollectionResponse, error)
func (Querier) CollectionList ¶
func (q Querier) CollectionList(c context.Context, req *types.QueryCollectionListRequest) (*types.QueryCollectionListResponse, error)
func (Querier) Dispute ¶
func (q Querier) Dispute(c context.Context, req *types.QueryDisputeRequest) (*types.QueryDisputeResponse, error)
func (Querier) DisputeList ¶
func (q Querier) DisputeList(c context.Context, req *types.QueryDisputeListRequest) (*types.QueryDisputeListResponse, error)
func (Querier) Params ¶
func (q Querier) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
type UnmarshalFn ¶
UnmarshalFn is a generic function to unmarshal bytes
Click to show internal directories.
Click to hide internal directories.