Skip to content

AccountProtocol

ratranqu edited this page Apr 26, 2021 · 2 revisions

AccountProtocol

public protocol AccountProtocol: ProtocolCodable, CustomStringConvertible 

Inheritance

CustomStringConvertible, ProtocolCodable

Requirements

address

var address: AccountAddress 

set(address:​)

mutating func set(address: AccountAddress) throws

publicKey

var publicKey: PublicKeyProtocol? 

set(publicKey:​)

mutating func set(publicKey: PublicKeyProtocol) throws

accountNumber

var accountNumber: UInt64 

set(accountNumber:​)

mutating func set(accountNumber: UInt64) throws

sequence

var sequence: UInt64 

set(sequence:​)

mutating func set(sequence: UInt64) throws

coins

var coins: Coins 

set(coins:​)

mutating func set(coins: Coins) throws

spendableCoins(blockTime:​)

func spendableCoins(blockTime: TimeInterval) -> Coins
Types
Protocols
Global Typealiases
Global Variables
Global Functions
Extensions
Clone this wiki locally