-
Notifications
You must be signed in to change notification settings - Fork 1
ModuleAccount
ratranqu edited this page Jan 28, 2021
·
3 revisions
public struct ModuleAccount: GenesisAccountpublic init(name: String, permissions: [String])public init(from decoder: Decoder) throwsvar metaType: MetaTypevar address: AccountAddressvar coins: Coinsvar publicKey: PublicKey?var accountNumber: UInt64var sequence: UInt64var description: Stringpublic func encode(to encoder: Encoder) throwspublic mutating func set(address: AccountAddress) throwspublic mutating func set(publicKey: PublicKey) throwspublic mutating func set(accountNumber: UInt64) throwspublic mutating func set(sequence: UInt64) throwspublic mutating func set(coins: Coins) throwspublic func validate() throwspublic func spendableCoins(blockTime: TimeInterval) -> Coinspublic static func moduleAddress(name: String) -> AccountAddressGenerated 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