-
Notifications
You must be signed in to change notification settings - Fork 34
/
DoublePreendorsingOperation.cs
69 lines (57 loc) · 2.17 KB
/
DoublePreendorsingOperation.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
60
61
62
63
64
65
66
67
68
69
using System;
namespace Tzkt.Api.Models
{
public class DoublePreendorsingOperation : Operation
{
/// <summary>
/// Type of the operation, `double_preendorsing`
/// </summary>
public override string Type => OpTypes.DoublePreendorsing;
/// <summary>
/// Unique ID of the operation, stored in the TzKT indexer database
/// </summary>
public override int Id { get; set; }
/// <summary>
/// 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>
/// Height of the block from the genesis, at which double preendorsing occurred
/// </summary>
public int AccusedLevel { get; set; }
/// <summary>
/// Information about the baker, produced the block, in which the accusation was included
/// </summary>
public Alias Accuser { get; set; }
/// <summary>
/// Reward of the baker, produced the block, in which the accusation was included
/// </summary>
public long AccuserReward { get; set; }
/// <summary>
/// Information about the baker, accused for producing two different preendorsements at the same level
/// </summary>
public Alias Offender { get; set; }
/// <summary>
/// Amount of frozen deposits lost by accused baker
/// </summary>
public long OffenderLoss { get; set; }
#region injecting
/// <summary>
/// Injected historical quote at the time of operation
/// </summary>
public QuoteShort Quote { get; set; }
#endregion
}
}