Documentation ¶
Index ¶
- type Keeper
- func (k Keeper) CheckValidChainId(ctx sdk.Context, chainId string) bool
- func (k Keeper) FindExternalOwner(ctx sdk.Context, chainId string, contractAddr string, tokenIdHex string) (*common.Address, error)
- func (k Keeper) FindInternalOwner(ctx sdk.Context, contractAddr string, tokenIdHex string) (*common.Address, error)
- func (k Keeper) GetNftOwner(goCtx context.Context, req *types.QueryGetNftOwnerRequest) (*types.QueryGetNftOwnerResponse, error)
- func (k Keeper) GetParams(ctx sdk.Context) (params types.Params)
- func (k Keeper) InitGenesis(ctx sdk.Context)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) OwnerOf(ctx sdk.Context, chainId string, contractAddr string, tokenIdHex string) (*common.Address, error)
- func (k Keeper) Params(ctx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey storetypes.StoreKey, ps paramtypes.Subspace, accountKeeper types.AccountKeeper, evmKeeper types.EVMKeeper, oracleKeeper types.OracleKeeper, interopClientFactory *interop.InteropClientFactory, ) *Keeper
func (Keeper) CheckValidChainId ¶
func (Keeper) FindExternalOwner ¶
func (Keeper) FindInternalOwner ¶
func (k Keeper) FindInternalOwner( ctx sdk.Context, contractAddr string, tokenIdHex string, ) (*common.Address, error)
FindInternalOwner returns the owner of the given NFT on current chain
func (Keeper) GetNftOwner ¶
func (k Keeper) GetNftOwner(goCtx context.Context, req *types.QueryGetNftOwnerRequest) (*types.QueryGetNftOwnerResponse, error)
func (Keeper) InitGenesis ¶
InitGenesis initializes the module's state from a provided genesis state. If we do not set the module account here, we cannot query the EVM state with nftownership's module account.
func (Keeper) Params ¶
func (k Keeper) Params(ctx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
Click to show internal directories.
Click to hide internal directories.