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 context.Context, denom string, admin string) error
- func (k *Keeper) DeleteAdversary(ctx context.Context, address string) error
- func (k *Keeper) DeleteBlacklistAdmin(ctx context.Context, admin string) error
- func (k *Keeper) DeleteBlacklistPendingOwner(ctx context.Context) error
- func (k *Keeper) DeletePendingOwner(ctx context.Context, denom string) error
- func (k *Keeper) DeleteSystem(ctx context.Context, denom string, address string) error
- func (k *Keeper) GetAdmins(ctx context.Context) (admins []types.Account)
- func (k *Keeper) GetAdminsByDenom(ctx context.Context, denom string) (admins []string)
- func (k *Keeper) GetAdversaries(ctx context.Context) (adversaries []string)
- func (k *Keeper) GetAllowedDenoms(ctx context.Context) (allowedDenoms []string)
- func (k *Keeper) GetBlacklistAdmins(ctx context.Context) (admins []string)
- func (k *Keeper) GetBlacklistOwner(ctx context.Context) string
- func (k *Keeper) GetBlacklistPendingOwner(ctx context.Context) string
- func (k *Keeper) GetMaxMintAllowance(ctx context.Context, denom string) (maxAllowance math.Int)
- func (k *Keeper) GetMaxMintAllowances(ctx context.Context) (maxAllowances map[string]string)
- func (k *Keeper) GetMintAllowance(ctx context.Context, denom string, address string) (allowance math.Int)
- func (k *Keeper) GetMintAllowances(ctx context.Context) (allowances []types.Allowance)
- func (k *Keeper) GetMintAllowancesByDenom(ctx context.Context, denom string) (allowances []types.Allowance)
- func (k *Keeper) GetOwner(ctx context.Context, denom string) string
- func (k *Keeper) GetOwners(ctx context.Context) map[string]string
- func (k *Keeper) GetPendingOwner(ctx context.Context, denom string) string
- func (k *Keeper) GetPendingOwners(ctx context.Context) map[string]string
- func (k *Keeper) GetSystems(ctx context.Context) (systems []types.Account)
- func (k *Keeper) GetSystemsByDenom(ctx context.Context, denom string) (systems []string)
- func (k *Keeper) IsAdmin(ctx context.Context, denom string, admin string) bool
- func (k *Keeper) IsAdversary(ctx context.Context, address string) bool
- func (k *Keeper) IsAllowedDenom(ctx context.Context, denom string) bool
- func (k *Keeper) IsBlacklistAdmin(ctx context.Context, admin string) bool
- func (k *Keeper) IsSystem(ctx context.Context, denom string, address string) bool
- func (k *Keeper) SendRestrictionFn(ctx context.Context, fromAddr, toAddr sdk.AccAddress, amt sdk.Coins) (newToAddr sdk.AccAddress, err error)
- func (k *Keeper) SetAdmin(ctx context.Context, denom string, admin string) error
- func (k *Keeper) SetAdversary(ctx context.Context, address string) error
- func (k *Keeper) SetAllowedDenom(ctx context.Context, denom string) error
- func (k *Keeper) SetBankKeeper(bankKeeper types.BankKeeper)
- func (k *Keeper) SetBlacklistAdmin(ctx context.Context, admin string) error
- func (k *Keeper) SetBlacklistOwner(ctx context.Context, owner string) error
- func (k *Keeper) SetBlacklistPendingOwner(ctx context.Context, pendingOwner string) error
- func (k *Keeper) SetMaxMintAllowance(ctx context.Context, denom string, maxAllowance math.Int) error
- func (k *Keeper) SetMintAllowance(ctx context.Context, denom string, address string, allowance math.Int) error
- func (k *Keeper) SetOwner(ctx context.Context, denom string, owner string) error
- func (k *Keeper) SetPendingOwner(ctx context.Context, denom string, pendingOwner string) error
- func (k *Keeper) SetSystem(ctx context.Context, denom string, address string) error
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 { AllowedDenoms collections.KeySet[string] Owner collections.Map[string, string] PendingOwner collections.Map[string, string] Systems collections.KeySet[[]byte] Admins collections.KeySet[[]byte] MintAllowance collections.Map[[]byte, []byte] MaxMintAllowance collections.Map[string, []byte] BlacklistOwner collections.Item[string] BlacklistPendingOwner collections.Item[string] BlacklistAdmins collections.KeySet[string] Adversaries collections.KeySet[string] // contains filtered or unexported fields }
func (*Keeper) DeleteAdmin ¶
func (*Keeper) DeleteAdversary ¶
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) GetSystems ¶
func (*Keeper) GetSystemsByDenom ¶
func (*Keeper) IsAllowedDenom ¶
func (*Keeper) IsBlacklistAdmin ¶
func (*Keeper) SendRestrictionFn ¶
func (k *Keeper) SendRestrictionFn(ctx context.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) SetAdversary ¶
func (*Keeper) SetAllowedDenom ¶
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.