Class DefaultValue
Inherited Members
Namespace: AVM.ClientGenerator.ABI.ARC56
Assembly: Algorand.dll
Syntax
public class DefaultValue
Properties
| Edit this page View SourceData
Base64 encoded bytes, base64 ARC4 encoded uint64, or UTF-8 method selector
Declaration
[JsonProperty("data")]
public string Data { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Source
Where the default value is coming from
- box: The data key signifies the box key to read the value from
- global: The data key signifies the global state key to read the value from
- local: The data key signifies the local state key to read the value from (for the sender)
- literal: the value is a literal and should be passed directly as the argument
- method: The utf8 signature of the method in this contract to call to get the default value. If the method has arguments, they all must have default values. The method MUST be readonly so simulate can be used to get the default value.
Declaration
[JsonProperty("source")]
public string Source { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Type
How the data is encoded. This is the encoding for the data provided here, not the arg type. Undefined if the data is method selector ABIType | AVMType
Declaration
[JsonProperty("type")]
public string Type { get; set; }
Property Value
| Type | Description |
|---|---|
| string |