-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathStructures.cs
33 lines (30 loc) · 882 Bytes
/
Structures.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
using System.Collections.Generic;
using Uint256;
namespace EVM
{
namespace Structures
{
public struct Transaction
{
public uint256 sender { get; set; }
public uint256 to { get; set; }
public uint256 value { get; set; }
public uint256 startGas { get; set; }
public uint256 gasPrice { get; set; }
public byte[] data { get; set; }
}
public struct Externalities
{
public uint256 blockheight { get; set; }
public uint256 timestamp { get; set; }
public uint256 coinbase { get; set; }
public uint256 difficulty { get; set; }
public uint256 gaslimit { get; set; }
}
public struct EVMLog
{
public List<uint256> topics;
public byte[] data;
}
}
}