Documentation ¶
Index ¶
- func NewBlacklistMsgServer(keeper *Keeper) blacklist.MsgServer
- func NewBlacklistQueryServer(keeper *Keeper) blacklist.QueryServer
- func NewMsgServer(keeper *Keeper) types.MsgServer
- func NewQueryServer(keeper *Keeper) types.QueryServer
- type Keeper
- func (k *Keeper) DeleteAdmin(ctx sdk.Context, denom string, admin string)
- func (k *Keeper) DeleteAdversary(ctx sdk.Context, address string)
- func (k *Keeper) DeleteBlacklistAdmin(ctx sdk.Context, admin string)
- func (k *Keeper) DeleteBlacklistPendingOwner(ctx sdk.Context)
- func (k *Keeper) DeletePendingOwner(ctx sdk.Context, denom string)
- func (k *Keeper) DeleteSystem(ctx sdk.Context, denom string, address string)
- func (k *Keeper) GetAdmins(ctx sdk.Context) (admins []types.Account)
- func (k *Keeper) GetAdminsByDenom(ctx sdk.Context, denom string) (admins []string)
- func (k *Keeper) GetAdversaries(ctx sdk.Context) (adversaries []string)
- func (k *Keeper) GetAllowedDenoms(ctx sdk.Context) (allowedDenoms []string)
- func (k *Keeper) GetAuthority(ctx sdk.Context) string
- func (k *Keeper) GetBlacklistAdmins(ctx sdk.Context) (admins []string)
- func (k *Keeper) GetBlacklistOwner(ctx sdk.Context) string
- func (k *Keeper) GetBlacklistPendingOwner(ctx sdk.Context) string
- func (k *Keeper) GetMaxMintAllowance(ctx sdk.Context, denom string) (maxAllowance sdk.Int)
- func (k *Keeper) GetMaxMintAllowances(ctx sdk.Context) map[string]string
- func (k *Keeper) GetMintAllowance(ctx sdk.Context, denom string, address string) (allowance sdk.Int)
- func (k *Keeper) GetMintAllowances(ctx sdk.Context) (allowances []types.Allowance)
- func (k *Keeper) GetMintAllowancesByDenom(ctx sdk.Context, denom string) (allowances []types.Allowance)
- func (k *Keeper) GetOwner(ctx sdk.Context, denom string) string
- func (k *Keeper) GetOwners(ctx sdk.Context) map[string]string
- func (k *Keeper) GetPendingOwner(ctx sdk.Context, denom string) string
- func (k *Keeper) GetPendingOwners(ctx sdk.Context) map[string]string
- func (k *Keeper) GetSystems(ctx sdk.Context) (systems []types.Account)
- func (k *Keeper) GetSystemsByDenom(ctx sdk.Context, denom string) (systems []string)
- func (k *Keeper) IsAdmin(ctx sdk.Context, denom string, admin string) bool
- func (k *Keeper) IsAdversary(ctx sdk.Context, address string) bool
- func (k *Keeper) IsAllowedDenom(ctx sdk.Context, denom string) bool
- func (k *Keeper) IsBlacklistAdmin(ctx sdk.Context, admin string) bool
- func (k *Keeper) IsSystem(ctx sdk.Context, denom string, address string) bool
- func (k *Keeper) SendRestrictionFn(ctx sdk.Context, fromAddr, toAddr sdk.AccAddress, amt sdk.Coins) (newToAddr sdk.AccAddress, err error)
- func (k *Keeper) SetAdmin(ctx sdk.Context, denom string, admin string)
- func (k *Keeper) SetAdversary(ctx sdk.Context, address string)
- func (k *Keeper) SetAllowedDenom(ctx sdk.Context, denom string)
- func (k *Keeper) SetAuthority(ctx sdk.Context, authority string)
- func (k *Keeper) SetBankKeeper(bankKeeper types.BankKeeper)
- func (k *Keeper) SetBlacklistAdmin(ctx sdk.Context, admin string)
- func (k *Keeper) SetBlacklistOwner(ctx sdk.Context, owner string)
- func (k *Keeper) SetBlacklistPendingOwner(ctx sdk.Context, pendingOwner string)
- func (k *Keeper) SetMaxMintAllowance(ctx sdk.Context, denom string, maxAllowance sdk.Int)
- func (k *Keeper) SetMintAllowance(ctx sdk.Context, denom string, address string, allowance sdk.Int)
- func (k *Keeper) SetOwner(ctx sdk.Context, denom string, owner string)
- func (k *Keeper) SetPendingOwner(ctx sdk.Context, denom string, pendingOwner string)
- func (k *Keeper) SetSystem(ctx sdk.Context, denom string, address string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBlacklistMsgServer ¶
func NewBlacklistQueryServer ¶
func NewBlacklistQueryServer(keeper *Keeper) blacklist.QueryServer
func NewMsgServer ¶
func NewQueryServer ¶
func NewQueryServer(keeper *Keeper) types.QueryServer
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( storeKey storetypes.StoreKey, accountKeeper types.AccountKeeper, bankKeeper types.BankKeeper, ) *Keeper
func (*Keeper) DeleteAdmin ¶
func (*Keeper) DeleteBlacklistAdmin ¶
func (*Keeper) DeleteBlacklistPendingOwner ¶
func (*Keeper) DeletePendingOwner ¶
func (*Keeper) DeleteSystem ¶
func (*Keeper) GetAdminsByDenom ¶
func (*Keeper) GetAdversaries ¶
func (*Keeper) GetAllowedDenoms ¶
func (*Keeper) GetBlacklistAdmins ¶
func (*Keeper) GetBlacklistPendingOwner ¶
func (*Keeper) GetMaxMintAllowance ¶
func (*Keeper) GetMaxMintAllowances ¶
func (*Keeper) GetMintAllowance ¶
func (*Keeper) GetMintAllowances ¶
func (*Keeper) GetMintAllowancesByDenom ¶
func (*Keeper) GetPendingOwner ¶
func (*Keeper) GetPendingOwners ¶
func (*Keeper) GetSystemsByDenom ¶
func (*Keeper) IsBlacklistAdmin ¶
func (*Keeper) SendRestrictionFn ¶
func (k *Keeper) SendRestrictionFn(ctx sdk.Context, fromAddr, toAddr sdk.AccAddress, amt sdk.Coins) (newToAddr sdk.AccAddress, err error)
SendRestrictionFn executes necessary checks against all EURe, GBPe, ISKe, USDe transfers.
func (*Keeper) SetBankKeeper ¶
func (k *Keeper) SetBankKeeper(bankKeeper types.BankKeeper)
SetBankKeeper overwrites the bank keeper used in this module.
func (*Keeper) SetBlacklistAdmin ¶
func (*Keeper) SetBlacklistOwner ¶
func (*Keeper) SetBlacklistPendingOwner ¶
func (*Keeper) SetMaxMintAllowance ¶
func (*Keeper) SetMintAllowance ¶
func (*Keeper) SetPendingOwner ¶
Click to show internal directories.
Click to hide internal directories.