-
Notifications
You must be signed in to change notification settings - Fork 34
/
TxRollupDispatchTicketsOperation.cs
103 lines (85 loc) · 3.53 KB
/
TxRollupDispatchTicketsOperation.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
using System;
using System.Collections.Generic;
namespace Tzkt.Api.Models
{
public class TxRollupDispatchTicketsOperation : Operation
{
/// <summary>
/// Type of the operation, `tx_rollup_dispatch_tickets`
/// </summary>
public override string Type => OpTypes.TxRollupDispatchTickets;
/// <summary>
/// Unique ID of the operation, stored in the TzKT indexer database
/// </summary>
public override int 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 the account who has sent the operation
/// </summary>
public Alias Sender { get; set; }
/// <summary>
/// An account nonce which is used to prevent operation replay
/// </summary>
public int Counter { get; set; }
/// <summary>
/// A cap on the amount of gas a given operation can consume
/// </summary>
public int GasLimit { get; set; }
/// <summary>
/// Amount of gas, consumed by the operation
/// </summary>
public int GasUsed { get; set; }
/// <summary>
/// A cap on the amount of storage a given operation can consume
/// </summary>
public int StorageLimit { get; set; }
/// <summary>
/// Amount of storage, consumed by the operation
/// </summary>
public int StorageUsed { get; set; }
/// <summary>
/// Fee to the baker, produced block, in which the operation was included (micro tez)
/// </summary>
public long BakerFee { get; set; }
/// <summary>
/// The amount of funds burned from the sender account for used the blockchain storage (micro tez)
/// </summary>
public long StorageFee { get; set; }
/// <summary>
/// Information about the rollup to which the operation was sent
/// </summary>
public Alias Rollup { get; set; }
/// <summary>
/// Operation status (`applied` - an operation applied by the node and successfully added to the blockchain,
/// `failed` - an operation which failed with some particular error (not enough balance, gas limit, etc),
/// `backtracked` - an operation which was successful but reverted due to one of the following operations in the same operation group was failed,
/// `skipped` - all operations after the failed one in an operation group)
/// </summary>
public string Status { get; set; }
/// <summary>
/// List of errors provided by the node, injected the operation to the blockchain. `null` if there is no errors
/// </summary>
public List<OperationError> Errors { get; set; }
#region injecting
/// <summary>
/// Injected historical quote at the time of operation
/// </summary>
public QuoteShort Quote { get; set; }
#endregion
}
}