-
Notifications
You must be signed in to change notification settings - Fork 1
BaseAccount
JaapWijnen edited this page Mar 9, 2021
·
3 revisions
public struct BaseAccount: Account, GenesisAccountpublic init(address: AccountAddress, coins: [Coin] = [], publicKey: PublicKeyProtocol? = nil, accountNumber: UInt64 = 0, sequence: UInt64 = 0)public init(from decoder: Decoder) throwslet metaType: MetaTypevar address: AccountAddressvar coins: [Coin]var publicKey: PublicKeyProtocol?var accountNumber: UInt64var sequence: UInt64var description: Stringpublic func encode(to encoder: Encoder) throwspublic mutating func set(address: AccountAddress) throwspublic mutating func set(publicKey: PublicKeyProtocol) throwspublic mutating func set(accountNumber: UInt64) throwspublic mutating func set(sequence: UInt64) throwspublic mutating func set(coins: [Coin]) throwspublic func validate() throwspublic func spendableCoins(blockTime: TimeInterval) -> [Coin]Generated 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