Show / Hide Table of Contents

    Class LogicsigSignature

    Serializable logicsig class. LogicsigSignature is constructed from a program and optional arguments. Signature sig and MultisigSignature msig property are available for modification by it's clients.

    Inheritance
    System.Object
    LogicsigSignature
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Algorand
    Assembly: Algorand.dll
    Syntax
    [JsonObject]
    public class LogicsigSignature

    Constructors

    | Improve this Doc View Source

    LogicsigSignature()

    Uninitialized object used for serializer to ignore default values.

    Declaration
    public LogicsigSignature()
    | Improve this Doc View Source

    LogicsigSignature(Byte[], List<Byte[]>, Byte[], MultisigSignature)

    LogicsigSignature

    Declaration
    [JsonConstructor]
    public LogicsigSignature([JsonProperty("l")] byte[] logic, [JsonProperty("arg")] List<byte[]> args = null, [JsonProperty("sig")] byte[] sig = null, [JsonProperty("msig")] MultisigSignature msig = null)
    Parameters
    Type Name Description
    System.Byte[] logic

    Unsigned logicsig object

    System.Collections.Generic.List<System.Byte[]> args

    Unsigned logicsig object's arguments

    System.Byte[] sig
    MultisigSignature msig

    Fields

    | Improve this Doc View Source

    args

    Declaration
    [JsonProperty(PropertyName = "arg")]
    public List<byte[]> args
    Field Value
    Type Description
    System.Collections.Generic.List<System.Byte[]>
    | Improve this Doc View Source

    logic

    Declaration
    [JsonProperty(PropertyName = "l")]
    public byte[] logic
    Field Value
    Type Description
    System.Byte[]
    | Improve this Doc View Source

    msig

    Declaration
    [JsonProperty(PropertyName = "msig")]
    public MultisigSignature msig
    Field Value
    Type Description
    MultisigSignature
    | Improve this Doc View Source

    sig

    Declaration
    [JsonProperty(PropertyName = "sig")]
    public Signature sig
    Field Value
    Type Description
    Signature

    Properties

    | Improve this Doc View Source

    Address

    The address of the LogicsigSignature

    Declaration
    [JsonIgnore]
    public Address Address { get; }
    Property Value
    Type Description
    Address

    Methods

    | Improve this Doc View Source

    BytesToSign()

    Return prefixed program as byte array that is ready to sign

    Declaration
    public byte[] BytesToSign()
    Returns
    Type Description
    System.Byte[]

    byte array

    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    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

    ToAddress()

    alculate escrow address from logic sig program DEPRECATED Please use Address property. The address of the LogicsigSignature

    Declaration
    public Address ToAddress()
    Returns
    Type Description
    Address

    The address of the LogicsigSignature

    | Improve this Doc View Source

    Verify(Address)

    Perform signature verification against the sender address

    Declaration
    public bool Verify(Address address)
    Parameters
    Type Name Description
    Address address

    Address to verify

    Returns
    Type Description
    System.Boolean

    bool

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX