Documentation ¶
Index ¶
- Constants
- func NewQuerier(keeper Keeper) sdk.Querier
- type Keeper
- func (k Keeper) AddCoins(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coins) sdk.Error
- func (k Keeper) BlacklistedAddr(addr sdk.AccAddress) bool
- func (k Keeper) DeductActivationFee(ctx sdk.Context, from sdk.AccAddress, to sdk.AccAddress, transfer sdk.Coins) (sdk.Coins, sdk.Error)
- func (k Keeper) DeductActivationFeeForFreshAccounts(ctx sdk.Context, addrs []sdk.AccAddress) sdk.Error
- func (k Keeper) DeductFee(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coins) sdk.Error
- func (k Keeper) DeductInt64CetFee(ctx sdk.Context, addr sdk.AccAddress, amt int64) sdk.Error
- func (k Keeper) DonateCoins(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coins) sdk.Error
- func (k Keeper) EarlierUnlockCoin(ctx sdk.Context, fromAddr, toAddr, supervisor sdk.AccAddress, amt *sdk.Coin, ...) (*authx.NotificationUnlock, sdk.Error)
- func (k Keeper) FreezeCoins(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coins) sdk.Error
- func (k Keeper) GetAccount(ctx sdk.Context, addr sdk.AccAddress) auth.Account
- func (k Keeper) GetAccountX(ctx sdk.Context, addr sdk.AccAddress) (ax authx.AccountX, ok bool)
- func (k Keeper) GetCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
- func (k Keeper) GetFrozenCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
- func (k Keeper) GetLockedCoins(ctx sdk.Context, addr sdk.AccAddress) authx.LockedCoins
- func (k Keeper) GetMemoRequired(ctx sdk.Context, addr sdk.AccAddress) bool
- func (k Keeper) GetParams(ctx sdk.Context) (param types.Params)
- func (k Keeper) GetSendEnabled(ctx sdk.Context) bool
- func (k Keeper) GetTotalCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
- func (k Keeper) HasCoins(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coins) bool
- func (k Keeper) InputOutputCoins(ctx sdk.Context, inputs []bank.Input, outputs []bank.Output) sdk.Error
- func (k Keeper) IsSendForbidden(ctx sdk.Context, amt sdk.Coins, addr sdk.AccAddress) bool
- func (k Keeper) MockAddFrozenCoins(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coins)
- func (k Keeper) MockAddLockedCoins(ctx sdk.Context, addr sdk.AccAddress, lockedCoins authx.LockedCoins)
- func (k Keeper) PreCheckFreshAccounts(ctx sdk.Context, outputs []bank.Output) (addrs []sdk.AccAddress)
- func (k Keeper) SendCoins(ctx sdk.Context, from sdk.AccAddress, to sdk.AccAddress, amt sdk.Coins) sdk.Error
- func (k Keeper) SendLockedCoins(ctx sdk.Context, fromAddr, toAddr, supervisor sdk.AccAddress, amt sdk.Coins, ...) sdk.Error
- func (k Keeper) SetMemoRequired(ctx sdk.Context, addr sdk.AccAddress, required bool) sdk.Error
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) SetSendEnabled(ctx sdk.Context, enabled bool)
- func (k Keeper) SubtractCoins(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coins) sdk.Error
- func (k Keeper) TotalAmountOfCoin(ctx sdk.Context, denom string) sdk.Int
- func (k Keeper) UnFreezeCoins(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coins) sdk.Error
- type QueryAddrBalances
Constants ¶
View Source
const ( QueryParameters = "parameters" QueryBalances = "balances" )
Variables ¶
This section is empty.
Functions ¶
func NewQuerier ¶ added in v0.0.13
creates a querier for asset REST endpoints
Types ¶
type Keeper ¶
func NewKeeper ¶
func NewKeeper(paramSubspace params.Subspace, axk authx.AccountXKeeper, bk bank.BaseKeeper, ak auth.AccountKeeper, tk types.ExpectedAssetStatusKeeper, sk types.SupplyKeeper, msgProducer msgqueue.MsgSender) Keeper
func (Keeper) BlacklistedAddr ¶
func (k Keeper) BlacklistedAddr(addr sdk.AccAddress) bool
func (Keeper) DeductActivationFee ¶ added in v0.0.15
func (Keeper) DeductActivationFeeForFreshAccounts ¶ added in v0.0.15
func (Keeper) DeductInt64CetFee ¶
func (Keeper) DonateCoins ¶ added in v0.0.15
func (Keeper) EarlierUnlockCoin ¶ added in v0.0.18
func (Keeper) FreezeCoins ¶
func (Keeper) GetAccount ¶ added in v0.0.18
func (Keeper) GetAccountX ¶ added in v0.0.18
func (Keeper) GetFrozenCoins ¶ added in v0.0.15
func (Keeper) GetLockedCoins ¶ added in v0.0.15
func (k Keeper) GetLockedCoins(ctx sdk.Context, addr sdk.AccAddress) authx.LockedCoins
func (Keeper) GetMemoRequired ¶ added in v0.0.15
func (Keeper) GetSendEnabled ¶ added in v0.0.15
func (Keeper) GetTotalCoins ¶
func (Keeper) InputOutputCoins ¶ added in v0.0.15
func (Keeper) IsSendForbidden ¶
func (Keeper) MockAddFrozenCoins ¶ added in v0.0.15
func (Keeper) MockAddLockedCoins ¶ added in v0.0.15
func (k Keeper) MockAddLockedCoins(ctx sdk.Context, addr sdk.AccAddress, lockedCoins authx.LockedCoins)
func (Keeper) PreCheckFreshAccounts ¶ added in v0.0.15
func (Keeper) SendLockedCoins ¶ added in v0.0.15
func (Keeper) SetMemoRequired ¶ added in v0.0.15
func (Keeper) SetSendEnabled ¶ added in v0.0.15
func (Keeper) SubtractCoins ¶
func (Keeper) TotalAmountOfCoin ¶
type QueryAddrBalances ¶ added in v0.0.16
type QueryAddrBalances struct {
Addr sdk.AccAddress `json:"addr"`
}
func NewQueryAddrBalances ¶ added in v0.0.16
func NewQueryAddrBalances(addr sdk.AccAddress) QueryAddrBalances
Click to show internal directories.
Click to hide internal directories.