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) 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) IsTokensExist(ctx sdk.Context, amt sdk.Coins) (string, 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 ¶
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 ¶
func (Keeper) DeductActivationFeeForFreshAccounts ¶
func (Keeper) DeductInt64CetFee ¶
func (Keeper) DonateCoins ¶
func (Keeper) EarlierUnlockCoin ¶
func (Keeper) FreezeCoins ¶
func (Keeper) GetAccount ¶
func (Keeper) GetFrozenCoins ¶
func (Keeper) GetLockedCoins ¶
func (k Keeper) GetLockedCoins(ctx sdk.Context, addr sdk.AccAddress) authx.LockedCoins
func (Keeper) GetMemoRequired ¶
func (Keeper) GetTotalCoins ¶
func (Keeper) InputOutputCoins ¶
func (Keeper) IsSendForbidden ¶
func (Keeper) IsTokensExist ¶
func (Keeper) MockAddFrozenCoins ¶
func (Keeper) MockAddLockedCoins ¶
func (k Keeper) MockAddLockedCoins(ctx sdk.Context, addr sdk.AccAddress, lockedCoins authx.LockedCoins)
func (Keeper) PreCheckFreshAccounts ¶
func (Keeper) SendLockedCoins ¶
func (Keeper) SetMemoRequired ¶
func (Keeper) SubtractCoins ¶
func (Keeper) TotalAmountOfCoin ¶
only used by unit tests
type QueryAddrBalances ¶
type QueryAddrBalances struct {
Addr sdk.AccAddress `json:"addr"`
}
func NewQueryAddrBalances ¶
func NewQueryAddrBalances(addr sdk.AccAddress) QueryAddrBalances
Click to show internal directories.
Click to hide internal directories.