Enumerations

The following enumerations are available globally.

  • Enum which contains contract result for different VM

    See more

    Declaration

    Swift

    public enum ContractResultEnum : Decodable, ContractVMTypeDecodable
  • Enum which contains contract struct for different VM

    See more

    Declaration

    Swift

    public enum ContractStructEnum : Decodable, ContractVMTypeDecodable
  • Enum which contains int or string value from decoded object

    See more

    Declaration

    Swift

    public enum IntOrString : Codable, Equatable
  • Enum which contains int or dict value from decoded object

    See more

    Declaration

    Swift

    public enum IntOrDict : Codable, Equatable
  • An enum representing either a failure with an explanatory error

    See more

    Declaration

    Swift

    public enum ECHOError : Swift.Error, Equatable
  • Represent fee type. Because different operations have different fee object

    See more

    Declaration

    Swift

    public enum FeeType
  • Enum type used to list all possible spaces in Graphene blockchain

    See more

    Declaration

    Swift

    public enum ObjectSpace : Int
  • Enum type used to list all possible object types in Graphene blockchain Every element contains information about it’s type and space

    See more

    Declaration

    Swift

    public enum ObjectType : Int
  • An enum representing either a failure with an explanatory error, or a success with a result value.

    See more

    Declaration

    Swift

    public enum Result<T, Error> : CustomStringConvertible, CustomDebugStringConvertible where Error : Error
  • API

    The enum that represent netwotk API’s.

    API

    1. Database API
    2. Account History API
    3. Crypto API
    4. Network Broadcast API
    5. Network Nodes API
    See more

    Declaration

    Swift

    public enum API
  • Options that configures network parameters. Indicates the prefix that is used when generating addresses.

     case echo = "ECHO"
     case bitshares = "GPH"
     case bitsharesTestnet = "TEST"
    
    See more

    Declaration

    Swift

    public enum ECHONetworkPrefix : String
  • Options that configures network parameters. Indicates the prefix that is used when generating addresses for echorand.

    case echo = "ECHO"
    
    See more

    Declaration

    Swift

    public enum EchorandPrefix : String