Documentation ¶
Index ¶
- Constants
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier
- type Keeper
- func (k Keeper) Claim(c context.Context, req *types.QueryClaimRequest) (*types.QueryClaimResponse, error)
- func (k Keeper) ClaimList(c context.Context, req *types.QueryClaimListRequest) (*types.QueryClaimListResponse, error)
- func (k Keeper) Collection(c context.Context, req *types.QueryCollectionRequest) (*types.QueryCollectionResponse, error)
- func (k Keeper) CollectionList(c context.Context, req *types.QueryCollectionListRequest) (*types.QueryCollectionListResponse, error)
- func (k Keeper) Delete(ctx sdk.Context, key []byte, prefix []byte)
- func (k Keeper) Dispute(c context.Context, req *types.QueryDisputeRequest) (*types.QueryDisputeResponse, error)
- func (k Keeper) DisputeList(c context.Context, req *types.QueryDisputeListRequest) (*types.QueryDisputeListResponse, error)
- 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) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- 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 UnmarshalFn
Constants ¶
View Source
const (
QueryClaims = "queryClaims"
)
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
func NewQuerier ¶
func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier
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) Claim ¶
func (k Keeper) Claim(c context.Context, req *types.QueryClaimRequest) (*types.QueryClaimResponse, error)
func (Keeper) ClaimList ¶
func (k Keeper) ClaimList(c context.Context, req *types.QueryClaimListRequest) (*types.QueryClaimListResponse, error)
func (Keeper) Collection ¶
func (k Keeper) Collection(c context.Context, req *types.QueryCollectionRequest) (*types.QueryCollectionResponse, error)
func (Keeper) CollectionList ¶
func (k Keeper) CollectionList(c context.Context, req *types.QueryCollectionListRequest) (*types.QueryCollectionListResponse, error)
func (Keeper) Dispute ¶
func (k Keeper) Dispute(c context.Context, req *types.QueryDisputeRequest) (*types.QueryDisputeResponse, error)
func (Keeper) DisputeList ¶
func (k Keeper) DisputeList(c context.Context, req *types.QueryDisputeListRequest) (*types.QueryDisputeListResponse, error)
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) Params ¶
func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
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 UnmarshalFn ¶
UnmarshalFn is a generic function to unmarshal bytes
Click to show internal directories.
Click to hide internal directories.