Class DryrunTxnResult
DryrunTxnResult contains any LogicSig or ApplicationCall program debug information and state updates from a dryrun.
Inheritance
Implements
Inherited Members
Namespace: Algorand.V2.Model
Assembly: Algorand.dll
Syntax
[DataContract]
public class DryrunTxnResult : IEquatable<DryrunTxnResult>, IValidatableObject
Constructors
| Improve this Doc View SourceDryrunTxnResult()
Initializes a new instance of the DryrunTxnResult class.
Declaration
[JsonConstructor]
protected DryrunTxnResult()
DryrunTxnResult(List<String>, List<DryrunState>, List<String>, List<DryrunState>, List<String>, StateDelta, List<AccountStateDelta>)
Initializes a new instance of the DryrunTxnResult class.
Declaration
public DryrunTxnResult(List<string> disassembly = null, List<DryrunState> logicSigTrace = null, List<string> logicSigMessages = null, List<DryrunState> appCallTrace = null, List<string> appCallMessages = null, StateDelta globalDelta = null, List<AccountStateDelta> localDeltas = null)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<System.String> | disassembly | Disassembled program line by line. (required). |
System.Collections.Generic.List<DryrunState> | logicSigTrace | logicSigTrace. |
System.Collections.Generic.List<System.String> | logicSigMessages | logicSigMessages. |
System.Collections.Generic.List<DryrunState> | appCallTrace | appCallTrace. |
System.Collections.Generic.List<System.String> | appCallMessages | appCallMessages. |
StateDelta | globalDelta | globalDelta. |
System.Collections.Generic.List<AccountStateDelta> | localDeltas | localDeltas. |
Properties
| Improve this Doc View SourceAppCallMessages
Gets or Sets AppCallMessages
Declaration
[DataMember(Name = "app-call-messages", EmitDefaultValue = false)]
public List<string> AppCallMessages { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
AppCallTrace
Gets or Sets AppCallTrace
Declaration
[DataMember(Name = "app-call-trace", EmitDefaultValue = false)]
public List<DryrunState> AppCallTrace { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<DryrunState> |
Disassembly
Disassembled program line by line.
Declaration
[DataMember(Name = "disassembly", EmitDefaultValue = false)]
public List<string> Disassembly { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> | Disassembled program line by line. |
GlobalDelta
Gets or Sets GlobalDelta
Declaration
[DataMember(Name = "global-delta", EmitDefaultValue = false)]
public StateDelta GlobalDelta { get; set; }
Property Value
Type | Description |
---|---|
StateDelta |
LocalDeltas
Gets or Sets LocalDeltas
Declaration
[DataMember(Name = "local-deltas", EmitDefaultValue = false)]
public List<AccountStateDelta> LocalDeltas { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<AccountStateDelta> |
LogicSigMessages
Gets or Sets LogicSigMessages
Declaration
[DataMember(Name = "logic-sig-messages", EmitDefaultValue = false)]
public List<string> LogicSigMessages { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
LogicSigTrace
Gets or Sets LogicSigTrace
Declaration
[DataMember(Name = "logic-sig-trace", EmitDefaultValue = false)]
public List<DryrunState> LogicSigTrace { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<DryrunState> |
Methods
| Improve this Doc View SourceEquals(DryrunTxnResult)
Returns true if DryrunTxnResult instances are equal
Declaration
public bool Equals(DryrunTxnResult input)
Parameters
Type | Name | Description |
---|---|---|
DryrunTxnResult | input | Instance of DryrunTxnResult to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
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
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
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 |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |
Overrides
Explicit Interface Implementations
| Improve this Doc View SourceIValidatableObject.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 |