Struct AppIndex
Identifier of an Application
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
[AlgoApiFormatter(typeof(WrappedValueFormatter<AppIndex, ulong>), "", "", 0)]
public struct AppIndex : IEquatable<AppIndex>, IEquatable<ulong>, IWrappedValue<ulong>
Constructors
AppIndex(UInt64)
Declaration
public AppIndex(ulong index)
Parameters
Type |
Name |
Description |
UInt64 |
index |
|
Fields
HashPrefix
Bytes prefix when hashing this struct
Declaration
public static readonly byte[] HashPrefix
Field Value
Properties
Index
Declaration
public ulong Index { get; set; }
Property Value
Methods
Equals(AppIndex)
Declaration
public bool Equals(AppIndex other)
Parameters
Returns
Equals(UInt64)
Declaration
public bool Equals(ulong other)
Parameters
Type |
Name |
Description |
UInt64 |
other |
|
Returns
GetAppAddress()
Return the escrow address of an application.
Declaration
public Address GetAppAddress()
Returns
Type |
Description |
Address |
The address corresponding to that application's escrow account.
|
Operators
Implicit(AppIndex to UInt64)
Declaration
public static implicit operator ulong (AppIndex appIndex)
Parameters
Returns
Implicit(UInt64 to AppIndex)
Declaration
public static implicit operator AppIndex(ulong index)
Parameters
Type |
Name |
Description |
UInt64 |
index |
|
Returns
Explicit Interface Implementations
IWrappedValue<UInt64>.WrappedValue
Declaration
ulong IWrappedValue<ulong>.WrappedValue { get; set; }
Returns
Implements