-
Notifications
You must be signed in to change notification settings - Fork 1
BaseKeeper
ratranqu edited this page Jan 28, 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: Coins) throwspublic func undelegateCoins(request: Request, moduleAccountAddress: AccountAddress, delegatorAddress: AccountAddress, amount: Coins) throwspublic func inputOutputCoins(request: Request, inputs: [Input], outputs: [Output]) throwspublic func sendCoins(request: Request, fromAddress: AccountAddress, toAddress: AccountAddress, amount: Coins) throwspublic func subtractCoins(requet: Request, address: AccountAddress, amount: Coins) throws -> Coins@discardableResult public func addCoins(request: Request, address: AccountAddress, amount: Coins) throws -> Coinspublic func setCoins(request: Request, address: AccountAddress, amount: Coins) throwspublic func isSendEnabled(request: Request) -> Boolpublic func setSendEnabled(request: Request, enabled: Bool)public func isBlacklisted(address: AccountAddress) -> Boolpublic func coins(request: Request, address: AccountAddress) -> Coins?public func hasCoins(request: Request, address: AccountAddress, amount: Coins) -> 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