Documentation ¶
Overview ¶
Package executor implements wrappers around starname module keeper that are used to perform actions on objects stored inside the crud.Store
Index ¶
- type Account
- func (a *Account) AddCertificate(cert []byte)
- func (a *Account) Create()
- func (a *Account) Delete()
- func (a *Account) DeleteCertificate(index int)
- func (a *Account) Renew()
- func (a *Account) ReplaceResources(newTargets []types.Resource)
- func (a *Account) State() types.Account
- func (a *Account) Transfer(newOwner sdk.AccAddress, reset bool)
- func (a *Account) UpdateMetadata(newMetadata string)
- type Domain
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct {
// contains filtered or unexported fields
}
Account defines an account executor
func (*Account) AddCertificate ¶
AddCertificate adds a certificate to the account
func (*Account) DeleteCertificate ¶
DeleteCertificate deletes the certificate of the account at the provided index
func (*Account) ReplaceResources ¶
ReplaceResources replaces account's resources
func (*Account) Transfer ¶
func (a *Account) Transfer(newOwner sdk.AccAddress, reset bool)
Transfer transfers the account to the provided owner with information reset if reset is true
func (*Account) UpdateMetadata ¶
UpdateMetadata updates account's metadata
type Domain ¶
type Domain struct {
// contains filtered or unexported fields
}
Domain defines the domain keeper executor
func (*Domain) Transfer ¶
func (d *Domain) Transfer(flag types.TransferFlag, newOwner sdk.AccAddress)
Transfer transfers a domain given a flag and an owner
Click to show internal directories.
Click to hide internal directories.