Documentation ¶
Index ¶
- func BuildResponse(info *types.MappingInfo) types.QueryInfoResponse
- func NewQuerier(k Keeper) sdk.Querier
- type Keeper
- func (k Keeper) AddMapping(ctx sdk.Context, info *types.MappingInfo) error
- func (k Keeper) AddVerified(ctx sdk.Context, ccAddr string) error
- func (k Keeper) GetAllMapInfo(ctx sdk.Context) []*types.MappingInfo
- func (k Keeper) GetMapInfo(ctx sdk.Context, ercAddr string) *types.MappingInfo
- func (k Keeper) GetVerified(ctx sdk.Context, ccAddr string) int
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) UpdateMapping(ctx sdk.Context, info *types.MappingInfo) error
- func (k Keeper) UpdateVerified(ctx sdk.Context, ccAddr string, status byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildResponse ¶
func BuildResponse(info *types.MappingInfo) types.QueryInfoResponse
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper store user map info, (ERC20(oin) ===> localCoins)
func (Keeper) AddMapping ¶
func (Keeper) GetAllMapInfo ¶
func (k Keeper) GetAllMapInfo(ctx sdk.Context) []*types.MappingInfo
func (Keeper) GetMapInfo ¶
func (Keeper) UpdateMapping ¶
Click to show internal directories.
Click to hide internal directories.