-
Notifications
You must be signed in to change notification settings - Fork 34
/
ActivationOperation.cs
59 lines (50 loc) 路 1.88 KB
/
ActivationOperation.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
锘縰sing System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace Tzkt.Api.Models
{
public class ActivationOperation : Operation
{
/// <summary>
/// Type of the operation, `activation` - is used to activate accounts that were recommended allocations of
/// tezos tokens for donations to the Tezos Foundation鈥檚 fundraiser.
/// </summary>
public override string Type => OpTypes.Activation;
/// <summary>
/// Unique ID of the operation, stored in the TzKT indexer database
/// </summary>
public override long Id { get; set; }
/// <summary>
/// The height of the block, from the genesis block, in which the operation was included
/// </summary>
public int Level { get; set; }
/// <summary>
/// Datetime of the block, in which the operation was included (ISO 8601, e.g. `2020-02-20T02:40:57Z`)
/// </summary>
public DateTime Timestamp { get; set; }
/// <summary>
/// Hash of the block, in which the operation was included
/// </summary>
public string Block { get; set; }
/// <summary>
/// Hash of the operation
/// </summary>
public string Hash { get; set; }
/// <summary>
/// Information about activated account
/// </summary>
public Alias Account { get; set; }
/// <summary>
/// Account activation balance of tezos tokens that were recommended allocations for donations to the Tezos Foundation鈥檚 fundraiser
/// </summary>
public long Balance { get; set; }
#region injecting
/// <summary>
/// Injected historical quote at the time of operation
/// </summary>
public QuoteShort Quote { get; set; }
#endregion
}
}