cs-codex-dist-tests/ProjectPlugins/CodexContractsPlugin/Marketplace/Customizations.cs

43 lines
1.2 KiB
C#
Raw Normal View History

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;
using Newtonsoft.Json;
2023-12-20 10:34:23 +00:00
namespace CodexContractsPlugin.Marketplace
{
public partial class Request : RequestBase
{
[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); } }
}
public partial class RequestFulfilledEventDTO
{
[JsonIgnore]
2024-04-13 06:57:46 +00:00
public BlockTimeEntry Block { get; set; }
}
public partial class RequestCancelledEventDTO
{
[JsonIgnore]
2024-04-13 06:57:46 +00:00
public BlockTimeEntry Block { get; set; }
}
public partial class SlotFilledEventDTO
{
[JsonIgnore]
2024-04-13 06:57:46 +00:00
public BlockTimeEntry Block { get; set; }
public EthAddress Host { get; set; }
}
public partial class SlotFreedEventDTO
{
[JsonIgnore]
2024-04-13 06:57:46 +00:00
public BlockTimeEntry Block { get; set; }
}
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.