keeper

package
v1.1.1-rc2 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMsgServerImpl

func NewMsgServerImpl(keeper Keeper) types.MsgServer

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

Types

type Keeper

type Keeper struct {
	// contains filtered or unexported fields
}

func NewKeeper

func NewKeeper(
	cdc codec.BinaryCodec,
	storeKey,
	memKey storetypes.StoreKey,
	rarimo types.RarimocoreKeeper,
) *Keeper

func (Keeper) GetAllCollectionData

func (k Keeper) GetAllCollectionData(ctx sdk.Context) (list []types.CollectionData)

func (Keeper) GetAllCollections

func (k Keeper) GetAllCollections(ctx sdk.Context) (list []types.Collection)

func (Keeper) GetAllItem

func (k Keeper) GetAllItem(ctx sdk.Context) (list []types.Item)

GetAllItem returns all item

func (Keeper) GetAllOnChainItem

func (k Keeper) GetAllOnChainItem(ctx sdk.Context) (list []types.OnChainItem)

GetAllOnChainItem returns all item

func (Keeper) GetAllSeed

func (k Keeper) GetAllSeed(ctx sdk.Context) (list []types.Seed)

func (Keeper) GetCollection

func (k Keeper) GetCollection(ctx sdk.Context, index string) (val types.Collection, found bool)

func (Keeper) GetCollectionData

func (k Keeper) GetCollectionData(ctx sdk.Context, index *types.CollectionDataIndex) (val types.CollectionData, found bool)

func (Keeper) GetItem

func (k Keeper) GetItem(ctx sdk.Context, index string) (val types.Item, found bool)

func (Keeper) GetNetwork

func (k Keeper) GetNetwork(ctx sdk.Context, name string) (param types.Network, ok bool)

func (Keeper) GetOnChainItem

func (k Keeper) GetOnChainItem(ctx sdk.Context, index *types.OnChainItemIndex) (val types.OnChainItem, found bool)

func (Keeper) GetParams

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

GetParams get all parameters as types.Params

func (Keeper) GetSeed

func (k Keeper) GetSeed(ctx sdk.Context, seed string) (val types.Seed, found bool)

func (Keeper) HandleAddCollectionDataProposal

func (k Keeper) HandleAddCollectionDataProposal(ctx sdk.Context, proposal *types.AddCollectionDataProposal) error

func (Keeper) HandleAddFeeTokenProposal

func (k Keeper) HandleAddFeeTokenProposal(ctx sdk.Context, proposal *types.AddFeeTokenProposal) error

func (Keeper) HandleAddNetworkProposal

func (k Keeper) HandleAddNetworkProposal(ctx sdk.Context, proposal *types.AddNetworkProposal) error

func (Keeper) HandleCreateCollectionProposal

func (k Keeper) HandleCreateCollectionProposal(ctx sdk.Context, proposal *types.CreateCollectionProposal) error

func (Keeper) HandleRemoveCollectionDataProposal

func (k Keeper) HandleRemoveCollectionDataProposal(ctx sdk.Context, proposal *types.RemoveCollectionDataProposal) error

func (Keeper) HandleRemoveCollectionProposal

func (k Keeper) HandleRemoveCollectionProposal(ctx sdk.Context, proposal *types.RemoveCollectionProposal) error

func (Keeper) HandleRemoveFeeTokenProposal

func (k Keeper) HandleRemoveFeeTokenProposal(ctx sdk.Context, proposal *types.RemoveFeeTokenProposal) error

func (Keeper) HandleRemoveNetworkProposal

func (k Keeper) HandleRemoveNetworkProposal(ctx sdk.Context, proposal *types.RemoveNetworkProposal) error

func (Keeper) HandleRemoveTokenItemProposal

func (k Keeper) HandleRemoveTokenItemProposal(ctx sdk.Context, proposal *types.RemoveTokenItemProposal) error

func (Keeper) HandleUpdateCollectionDataProposal

func (k Keeper) HandleUpdateCollectionDataProposal(ctx sdk.Context, proposal *types.UpdateCollectionDataProposal) error

func (Keeper) HandleUpdateFeeTokenProposal

func (k Keeper) HandleUpdateFeeTokenProposal(ctx sdk.Context, proposal *types.UpdateFeeTokenProposal) error

func (Keeper) HandleUpdateTokenItemProposal

func (k Keeper) HandleUpdateTokenItemProposal(ctx sdk.Context, proposal *types.UpdateTokenItemProposal) error

func (Keeper) HandleUpgradeContractProposal

func (k Keeper) HandleUpgradeContractProposal(ctx sdk.Context, proposal *types.UpgradeContractProposal) error

func (Keeper) HandleWithdrawFeeProposal

func (k Keeper) HandleWithdrawFeeProposal(ctx sdk.Context, proposal *types.WithdrawFeeProposal) error

func (Keeper) Logger

func (k Keeper) Logger(ctx sdk.Context) log.Logger

func (Keeper) Params

func (Keeper) RemoveCollection

func (k Keeper) RemoveCollection(ctx sdk.Context, index string)

func (Keeper) RemoveCollectionData

func (k Keeper) RemoveCollectionData(ctx sdk.Context, index *types.CollectionDataIndex)

func (Keeper) RemoveItem

func (k Keeper) RemoveItem(ctx sdk.Context, index string)

RemoveItem removes an item from the store

func (Keeper) RemoveNetwork

func (k Keeper) RemoveNetwork(ctx sdk.Context, chain string)

func (Keeper) RemoveOnChainItem

func (k Keeper) RemoveOnChainItem(ctx sdk.Context, index *types.OnChainItemIndex)

RemoveOnChainItem removes an item from the store

func (Keeper) RemoveSeed

func (k Keeper) RemoveSeed(ctx sdk.Context, seed string)

func (Keeper) SetCollection

func (k Keeper) SetCollection(ctx sdk.Context, collection types.Collection)

func (Keeper) SetCollectionData

func (k Keeper) SetCollectionData(ctx sdk.Context, data types.CollectionData)

func (Keeper) SetItem

func (k Keeper) SetItem(ctx sdk.Context, item types.Item)

func (Keeper) SetNetwork

func (k Keeper) SetNetwork(ctx sdk.Context, network types.Network)

func (Keeper) SetOnChainItem

func (k Keeper) SetOnChainItem(ctx sdk.Context, item types.OnChainItem)

func (Keeper) SetParams

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

SetParams set the params

func (*Keeper) SetRarimoCore

func (k *Keeper) SetRarimoCore(rarimo types.RarimocoreKeeper)

func (Keeper) SetSeed

func (k Keeper) SetSeed(ctx sdk.Context, seed types.Seed)

Jump to

Keyboard shortcuts

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