-
Notifications
You must be signed in to change notification settings - Fork 1
BaseKeeper
JaapWijnen edited this page Feb 19, 2021
·
2 revisions
public final class BaseKeeper: BaseSendKeeper, BankKeeperpublic override init(accountKeeper: AccountKeeper, paramSpace: Subspace, blacklistedAddresses: [String: Bool])InitGenesis initializes the bank module's state from a given genesis state.
public func initGenesis(request: Request, state: BankGenesisState)public func delegateCoins(request: Request, delegatorAddress: AccountAddress, moduleAccountAddress: AccountAddress, amount: [Coin]) throwspublic func undelegateCoins(request: Request, moduleAccountAddress: AccountAddress, delegatorAddress: AccountAddress, amount: [Coin]) throwspublic func inputOutputCoins(request: Request, inputs: [Input], outputs: [Output]) throwspublic func sendCoins(request: Request, fromAddress: AccountAddress, toAddress: AccountAddress, amount: [Coin]) throwspublic func subtractCoins(requet: Request, address: AccountAddress, amount: [Coin]) throws -> [Coin]@discardableResult public func addCoins(request: Request, address: AccountAddress, amount: [Coin]) throws -> [Coin]public func setCoins(request: Request, address: AccountAddress, amount: [Coin]) throwspublic func isSendEnabled(request: Request) -> Boolpublic func setSendEnabled(request: Request, enabled: Bool)public func isBlacklisted(address: AccountAddress) -> Boolpublic func coins(request: Request, address: AccountAddress) -> [Coin]?public func hasCoins(request: Request, address: AccountAddress, amount: [Coin]) -> BoolGenerated at 2021-04-21T13:08:01+0000 using swift-doc 1.0.0-beta.5.
Types
- BuyName
- BuyNameMessage
- DeleteName
- DeleteNameMessage
- GenesisState
- GetWhois
- KeysOptions
- ListWhois
- NameServiceApp
- NameServiceAppModule
- NameServiceAppModuleBasic
- NameServiceKeeper
- NameServiceKeys
- QueryCommand
- QueryNameserviceCommand
- ResolveName
- SetName
- SetNameMessage
- TransactionCommand
- TransactionNameserviceCommand
- Whois