Show / Hide Table of Contents

    Class Address

    Inheritance
    System.Object
    Address
    Implements
    Google.Protobuf.IMessage<Address>
    Google.Protobuf.IMessage
    System.IEquatable<Address>
    Google.Protobuf.IDeepCloneable<Address>
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Catalyst.Protocol.Account
    Assembly: Catalyst.Protocol.dll
    Syntax
    public sealed class Address : IMessage<Address>, IMessage, IEquatable<Address>, IDeepCloneable<Address>

    Constructors

    | Improve this Doc View Source

    Address()

    Declaration
    public Address()
    | Improve this Doc View Source

    Address(Address)

    Declaration
    public Address(Address other)
    Parameters
    Type Name Description
    Address other

    Fields

    | Improve this Doc View Source

    AccountTypeFieldNumber

    Field number for the "account_type" field.

    Declaration
    public const int AccountTypeFieldNumber = 2
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    ByteLength

    Declaration
    public static readonly int ByteLength
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    NetworkTypeFieldNumber

    Field number for the "network_type" field.

    Declaration
    public const int NetworkTypeFieldNumber = 1
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    PublicKeyHashFieldNumber

    Field number for the "public_key_hash" field.

    Declaration
    public const int PublicKeyHashFieldNumber = 3
    Field Value
    Type Description
    System.Int32

    Properties

    | Improve this Doc View Source

    AccountType

    Declaration
    public AccountType AccountType { get; set; }
    Property Value
    Type Description
    AccountType
    | Improve this Doc View Source

    Descriptor

    Declaration
    public static MessageDescriptor Descriptor { get; }
    Property Value
    Type Description
    Google.Protobuf.Reflection.MessageDescriptor
    | Improve this Doc View Source

    IsConfidentialAccount

    Declaration
    public bool IsConfidentialAccount { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsPublicAccount

    Declaration
    public bool IsPublicAccount { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsSmartContract

    Declaration
    public bool IsSmartContract { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    NetworkType

    Declaration
    public NetworkType NetworkType { get; set; }
    Property Value
    Type Description
    NetworkType
    | Improve this Doc View Source

    Parser

    Declaration
    public static MessageParser<Address> Parser { get; }
    Property Value
    Type Description
    Google.Protobuf.MessageParser<Address>
    | Improve this Doc View Source

    PublicKeyHash

    multihash of the public key behind the address using Blake2b-152 Blake2b-152 produces 19 bytes digest

    Declaration
    public ByteString PublicKeyHash { get; set; }
    Property Value
    Type Description
    Google.Protobuf.ByteString
    | Improve this Doc View Source

    RawBytes

    Declaration
    public byte[] RawBytes { get; }
    Property Value
    Type Description
    System.Byte[]

    Methods

    | Improve this Doc View Source

    CalculateSize()

    Declaration
    public int CalculateSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Clone()

    Declaration
    public Address Clone()
    Returns
    Type Description
    Address
    | Improve this Doc View Source

    Equals(Address)

    Declaration
    public bool Equals(Address other)
    Parameters
    Type Name Description
    Address other
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object other)
    Parameters
    Type Name Description
    System.Object other
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Object.Equals(System.Object)
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()
    | Improve this Doc View Source

    MergeFrom(Address)

    Declaration
    public void MergeFrom(Address other)
    Parameters
    Type Name Description
    Address other
    | Improve this Doc View Source

    MergeFrom(CodedInputStream)

    Declaration
    public void MergeFrom(CodedInputStream input)
    Parameters
    Type Name Description
    Google.Protobuf.CodedInputStream input
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()
    | Improve this Doc View Source

    WriteTo(CodedOutputStream)

    Declaration
    public void WriteTo(CodedOutputStream output)
    Parameters
    Type Name Description
    Google.Protobuf.CodedOutputStream output

    Explicit Interface Implementations

    | Improve this Doc View Source

    IMessage.Descriptor

    Declaration
    MessageDescriptor IMessage.Descriptor { get; }
    Returns
    Type Description
    Google.Protobuf.Reflection.MessageDescriptor

    Implements

    Google.Protobuf.IMessage<T>
    Google.Protobuf.IMessage
    System.IEquatable<T>
    Google.Protobuf.IDeepCloneable<T>
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network