2023-12-20 10:34:23 +00:00
|
|
|
|
#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
|
|
|
|
|
using GethPlugin;
|
2024-04-13 06:57:46 +00:00
|
|
|
|
using NethereumWorkflow.BlockUtils;
|
2024-04-08 14:07:52 +00:00
|
|
|
|
using Newtonsoft.Json;
|
2023-12-20 10:34:23 +00:00
|
|
|
|
|
|
|
|
|
namespace CodexContractsPlugin.Marketplace
|
|
|
|
|
{
|
|
|
|
|
public partial class Request : RequestBase
|
|
|
|
|
{
|
2024-04-08 14:07:52 +00:00
|
|
|
|
[JsonIgnore]
|
2024-04-13 06:57:46 +00:00
|
|
|
|
public BlockTimeEntry Block { get; set; }
|
2023-12-20 10:34:23 +00:00
|
|
|
|
public byte[] RequestId { get; set; }
|
|
|
|
|
|
|
|
|
|
public EthAddress ClientAddress { get { return new EthAddress(Client); } }
|
|
|
|
|
}
|
2023-12-20 12:21:53 +00:00
|
|
|
|
|
2024-01-22 15:05:04 +00:00
|
|
|
|
public partial class RequestFulfilledEventDTO
|
|
|
|
|
{
|
2024-04-08 14:07:52 +00:00
|
|
|
|
[JsonIgnore]
|
2024-04-13 06:57:46 +00:00
|
|
|
|
public BlockTimeEntry Block { get; set; }
|
2024-01-22 15:05:04 +00:00
|
|
|
|
}
|
|
|
|
|
|
2024-01-22 15:27:32 +00:00
|
|
|
|
public partial class RequestCancelledEventDTO
|
|
|
|
|
{
|
2024-04-08 14:07:52 +00:00
|
|
|
|
[JsonIgnore]
|
2024-04-13 06:57:46 +00:00
|
|
|
|
public BlockTimeEntry Block { get; set; }
|
2024-01-22 15:27:32 +00:00
|
|
|
|
}
|
|
|
|
|
|
2023-12-20 12:21:53 +00:00
|
|
|
|
public partial class SlotFilledEventDTO
|
|
|
|
|
{
|
2024-04-08 14:07:52 +00:00
|
|
|
|
[JsonIgnore]
|
2024-04-13 06:57:46 +00:00
|
|
|
|
public BlockTimeEntry Block { get; set; }
|
2023-12-20 12:21:53 +00:00
|
|
|
|
public EthAddress Host { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public partial class SlotFreedEventDTO
|
|
|
|
|
{
|
2024-04-08 14:07:52 +00:00
|
|
|
|
[JsonIgnore]
|
2024-04-13 06:57:46 +00:00
|
|
|
|
public BlockTimeEntry Block { get; set; }
|
2023-12-20 12:21:53 +00:00
|
|
|
|
}
|
2023-12-20 10:34:23 +00:00
|
|
|
|
}
|
|
|
|
|
#pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
|