Show / Hide Table of Contents

    Class DryrunState

    Stores the TEAL eval step data

    Inheritance
    System.Object
    DryrunState
    Implements
    System.IEquatable<DryrunState>
    System.ComponentModel.DataAnnotations.IValidatableObject
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Algorand.V2.Model
    Assembly: Algorand.dll
    Syntax
    [DataContract]
    public class DryrunState : IEquatable<DryrunState>, IValidatableObject

    Constructors

    | Improve this Doc View Source

    DryrunState()

    Initializes a new instance of the DryrunState class.

    Declaration
    [JsonConstructor]
    protected DryrunState()
    | Improve this Doc View Source

    DryrunState(Nullable<Int64>, Nullable<Int64>, List<TealValue>, List<TealValue>, String)

    Initializes a new instance of the DryrunState class.

    Declaration
    public DryrunState(long? line = default(long? ), long? pc = default(long? ), List<TealValue> stack = null, List<TealValue> scratch = null, string error = null)
    Parameters
    Type Name Description
    System.Nullable<System.Int64> line

    Line number (required).

    System.Nullable<System.Int64> pc

    Program counter (required).

    System.Collections.Generic.List<TealValue> stack

    stack (required).

    System.Collections.Generic.List<TealValue> scratch

    scratch.

    System.String error

    Evaluation error if any.

    Properties

    | Improve this Doc View Source

    Error

    Evaluation error if any

    Declaration
    [DataMember(Name = "error", EmitDefaultValue = false)]
    public string Error { get; set; }
    Property Value
    Type Description
    System.String

    Evaluation error if any

    | Improve this Doc View Source

    Line

    Line number

    Declaration
    [DataMember(Name = "line", EmitDefaultValue = false)]
    public long? Line { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int64>

    Line number

    | Improve this Doc View Source

    Pc

    Program counter

    Declaration
    [DataMember(Name = "pc", EmitDefaultValue = false)]
    public long? Pc { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int64>

    Program counter

    | Improve this Doc View Source

    Scratch

    Gets or Sets Scratch

    Declaration
    [DataMember(Name = "scratch", EmitDefaultValue = false)]
    public List<TealValue> Scratch { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<TealValue>
    | Improve this Doc View Source

    Stack

    Gets or Sets Stack

    Declaration
    [DataMember(Name = "stack", EmitDefaultValue = false)]
    public List<TealValue> Stack { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<TealValue>

    Methods

    | Improve this Doc View Source

    Equals(DryrunState)

    Returns true if DryrunState instances are equal

    Declaration
    public bool Equals(DryrunState input)
    Parameters
    Type Name Description
    DryrunState input

    Instance of DryrunState to be compared

    Returns
    Type Description
    System.Boolean

    Boolean

    | Improve this Doc View Source

    Equals(Object)

    Returns true if objects are equal

    Declaration
    public override bool Equals(object input)
    Parameters
    Type Name Description
    System.Object input

    Object to be compared

    Returns
    Type Description
    System.Boolean

    Boolean

    Overrides
    System.Object.Equals(System.Object)
    | Improve this Doc View Source

    GetHashCode()

    Gets the hash code

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    Hash code

    Overrides
    System.Object.GetHashCode()
    | Improve this Doc View Source

    ToJson()

    Returns the JSON string presentation of the object

    Declaration
    public virtual string ToJson()
    Returns
    Type Description
    System.String

    JSON string presentation of the object

    | Improve this Doc View Source

    ToString()

    Returns the string presentation of the object

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    String presentation of the object

    Overrides
    System.Object.ToString()

    Explicit Interface Implementations

    | Improve this Doc View Source

    IValidatableObject.Validate(ValidationContext)

    To validate all properties of the instance

    Declaration
    IEnumerable<ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
    Parameters
    Type Name Description
    System.ComponentModel.DataAnnotations.ValidationContext validationContext

    Validation context

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult>

    Validation Result

    Implements

    System.IEquatable<T>
    System.ComponentModel.DataAnnotations.IValidatableObject
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX