keeper

package
v0.0.0-...-7a9719f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QueryTokenDoc = "queryTokenDoc"
)

Variables

This section is empty.

Functions

func NewMsgServerImpl

func NewMsgServerImpl(k Keeper) types.MsgServer

NewMsgServerImpl returns an implementation of the project MsgServer interface for the provided Keeper.

func NewQuerier

func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier

Types

type Keeper

type Keeper struct {
	IidKeeper     iidkeeper.Keeper
	WasmKeeper    wasmtypes.ContractOpsKeeper
	AccountKeeper authkeeper.AccountKeeper
	AuthzKeeper   authzkeeper.Keeper
	ParamSpace    paramstypes.Subspace
	// contains filtered or unexported fields
}

func NewKeeper

func NewKeeper(cdc codec.BinaryCodec, key sdk.StoreKey, iidKeeper iidkeeper.Keeper, wasmKeeper wasmkeeper.Keeper,
	accountKeeper authkeeper.AccountKeeper, authzKeeper authzkeeper.Keeper, paramSpace paramstypes.Subspace) Keeper

func (Keeper) GetMinterContract

func (k Keeper) GetMinterContract(ctx sdk.Context, minterDid iidtypes.DIDFragment, contractAddress string) (types.TokenMinter, error)

func (Keeper) GetMinterContracts

func (k Keeper) GetMinterContracts(ctx sdk.Context, minterDid string) []*types.TokenMinter

func (Keeper) GetParams

func (k Keeper) GetParams(ctx sdk.Context) (params types.Params)

GetParams returns the total set of project parameters.

func (Keeper) GetTokenDocIterator

func (k Keeper) GetTokenDocIterator(ctx sdk.Context) sdk.Iterator

func (Keeper) SetMinter

func (k Keeper) SetMinter(ctx sdk.Context, value types.TokenMinter) error

func (Keeper) SetParams

func (k Keeper) SetParams(ctx sdk.Context, params *types.Params)

SetParams sets the total set of project parameters.

func (Keeper) TokenExists

func (k Keeper) TokenExists(ctx sdk.Context, tokenDid string) bool

func (Keeper) TransferToken

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL