Documentation
¶
Index ¶
- Variables
- func MakeTestCodec() *codec.Codec
- func NewQuerier(k Keeper) sdk.Querier
- type Keeper
- func (k Keeper) CreateCopyrightedText(ctx sdk.Context, copyrightedText types.Texts)
- func (k Keeper) DeleteCopyrightedText(ctx sdk.Context, key string)
- func (k Keeper) Exists(ctx sdk.Context, key string) bool
- func (k Keeper) GetCopyrightedText(ctx sdk.Context, key string) (types.Texts, error)
- func (k Keeper) GetNamesIterator(ctx sdk.Context) sdk.Iterator
- func (k Keeper) GetOwner(ctx sdk.Context, key string) sdk.AccAddress
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) SetCopyrightedText(ctx sdk.Context, name string, copyrightedText types.Texts)
- type TestKeepers
Constants ¶
This section is empty.
Variables ¶
View Source
var TestingStakeParams = staking.Params{
UnbondingTime: 100,
MaxValidators: 10,
MaxEntries: 10,
HistoricalEntries: 10,
BondDenom: "stake",
}
Functions ¶
func MakeTestCodec ¶
func NewQuerier ¶
NewQuerier creates a new querier for copyrightedphrases clients.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper of the copyrightedphrases store
func (Keeper) CreateCopyrightedText ¶
CreateCopyrightedText register the copyrighted text.
func (Keeper) DeleteCopyrightedText ¶
DeleteCopyrightedText deletes a copyrighted text
func (Keeper) GetCopyrightedText ¶
GetCopyrightedText returns the copyrighted text information
func (Keeper) GetNamesIterator ¶
Get an iterator over all names in which the keys are the names and the values are the copyrightedText
type TestKeepers ¶
type TestKeepers struct { AccountKeeper auth.AccountKeeper StakingKeeper staking.Keeper CopyrightedPhraseKeeper Keeper DistKeeper distribution.Keeper SupplyKeeper supply.Keeper GovKeeper gov.Keeper BankKeeper bank.Keeper }
func CreateTestInput ¶
encoders can be nil to accept the defaults, or set it to override some of the message handlers (like default)
Click to show internal directories.
Click to hide internal directories.