Documentation ¶
Index ¶
- func MakeContext(storeKey sdk.StoreKey) sdk.Context
- func PutBackStorePool(cms sdk.CacheMultiStore)
- func SetCliContext(ctx clientcontext.CLIContext)
- type AccountKeeperProxy
- func (a AccountKeeperProxy) GetAccount(ctx sdk.Context, addr sdk.AccAddress) authexported.Account
- func (a AccountKeeperProxy) GetAllAccounts(ctx sdk.Context) (accounts []authexported.Account)
- func (a AccountKeeperProxy) IterateAccounts(ctx sdk.Context, cb func(account authexported.Account) bool)
- func (a AccountKeeperProxy) NewAccountWithAddress(ctx sdk.Context, addr sdk.AccAddress) authexported.Account
- func (a AccountKeeperProxy) RemoveAccount(ctx sdk.Context, account authexported.Account)
- func (a AccountKeeperProxy) SetAccount(ctx sdk.Context, account authexported.Account)
- func (a AccountKeeperProxy) SetObserverKeeper(observer auth.ObserverI)
- type BankKeeperProxy
- func (b BankKeeperProxy) BlacklistedAddr(addr sdk.AccAddress) bool
- func (b BankKeeperProxy) BlockedAddr(addr sdk.AccAddress) bool
- func (b BankKeeperProxy) GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
- func (b BankKeeperProxy) GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin
- func (b BankKeeperProxy) GetSendEnabled(ctx sdk.Context) bool
- func (b BankKeeperProxy) IsSendEnabledCoins(ctx sdk.Context, coins ...sdk.Coin) error
- func (b BankKeeperProxy) SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error
- type CapabilityKeeperProxy
- func (c CapabilityKeeperProxy) AuthenticateCapability(ctx sdk.Context, capability *capabilitytypes.Capability, name string) bool
- func (c CapabilityKeeperProxy) ClaimCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) error
- func (c CapabilityKeeperProxy) GetCapability(ctx sdk.Context, name string) (*capabilitytypes.Capability, bool)
- type PortKeeperProxy
- type SubspaceProxy
- type SupplyKeeperProxy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PutBackStorePool ¶ added in v1.7.0
func PutBackStorePool(cms sdk.CacheMultiStore)
func SetCliContext ¶
func SetCliContext(ctx clientcontext.CLIContext)
Types ¶
type AccountKeeperProxy ¶
type AccountKeeperProxy struct {
// contains filtered or unexported fields
}
AccountKeeperProxy defines the expected account keeper interface
func NewAccountKeeperProxy ¶
func NewAccountKeeperProxy() AccountKeeperProxy
func (AccountKeeperProxy) GetAccount ¶
func (a AccountKeeperProxy) GetAccount(ctx sdk.Context, addr sdk.AccAddress) authexported.Account
func (AccountKeeperProxy) GetAllAccounts ¶
func (a AccountKeeperProxy) GetAllAccounts(ctx sdk.Context) (accounts []authexported.Account)
func (AccountKeeperProxy) IterateAccounts ¶
func (a AccountKeeperProxy) IterateAccounts(ctx sdk.Context, cb func(account authexported.Account) bool)
func (AccountKeeperProxy) NewAccountWithAddress ¶
func (a AccountKeeperProxy) NewAccountWithAddress(ctx sdk.Context, addr sdk.AccAddress) authexported.Account
func (AccountKeeperProxy) RemoveAccount ¶
func (a AccountKeeperProxy) RemoveAccount(ctx sdk.Context, account authexported.Account)
func (AccountKeeperProxy) SetAccount ¶
func (a AccountKeeperProxy) SetAccount(ctx sdk.Context, account authexported.Account)
func (AccountKeeperProxy) SetObserverKeeper ¶
func (a AccountKeeperProxy) SetObserverKeeper(observer auth.ObserverI)
type BankKeeperProxy ¶
type BankKeeperProxy struct {
// contains filtered or unexported fields
}
func NewBankKeeperProxy ¶
func NewBankKeeperProxy(akp AccountKeeperProxy) BankKeeperProxy
func (BankKeeperProxy) BlacklistedAddr ¶
func (b BankKeeperProxy) BlacklistedAddr(addr sdk.AccAddress) bool
func (BankKeeperProxy) BlockedAddr ¶
func (b BankKeeperProxy) BlockedAddr(addr sdk.AccAddress) bool
func (BankKeeperProxy) GetAllBalances ¶
func (b BankKeeperProxy) GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
func (BankKeeperProxy) GetBalance ¶
func (b BankKeeperProxy) GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin
func (BankKeeperProxy) GetSendEnabled ¶
func (b BankKeeperProxy) GetSendEnabled(ctx sdk.Context) bool
func (BankKeeperProxy) IsSendEnabledCoins ¶
func (BankKeeperProxy) SendCoins ¶
func (b BankKeeperProxy) SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error
type CapabilityKeeperProxy ¶
type CapabilityKeeperProxy struct{}
func (CapabilityKeeperProxy) AuthenticateCapability ¶
func (c CapabilityKeeperProxy) AuthenticateCapability(ctx sdk.Context, capability *capabilitytypes.Capability, name string) bool
func (CapabilityKeeperProxy) ClaimCapability ¶
func (c CapabilityKeeperProxy) ClaimCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) error
func (CapabilityKeeperProxy) GetCapability ¶
func (c CapabilityKeeperProxy) GetCapability(ctx sdk.Context, name string) (*capabilitytypes.Capability, bool)
type PortKeeperProxy ¶
type PortKeeperProxy struct{}
func (PortKeeperProxy) BindPort ¶
func (p PortKeeperProxy) BindPort(ctx sdk.Context, portID string) *capabilitytypes.Capability
type SubspaceProxy ¶
type SubspaceProxy struct{}
func (SubspaceProxy) GetParamSet ¶
func (s SubspaceProxy) GetParamSet(ctx sdk.Context, ps params.ParamSet)
func (SubspaceProxy) SetParamSet ¶
func (s SubspaceProxy) SetParamSet(ctx sdk.Context, ps params.ParamSet)
type SupplyKeeperProxy ¶
type SupplyKeeperProxy struct{}
func (SupplyKeeperProxy) GetSupply ¶
func (s SupplyKeeperProxy) GetSupply(ctx sdk.Context) supplyexported.SupplyI
Click to show internal directories.
Click to hide internal directories.